From 6d1d4f6d920d7fcd7705ae80c26a3046740ae5ea Mon Sep 17 00:00:00 2001 From: John Flatness Date: Wed, 4 Jan 2023 16:08:23 -0500 Subject: [PATCH] Fix spacing on new codeblock --- source/Reference/filters/admin_dashboard_stats.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Reference/filters/admin_dashboard_stats.rst b/source/Reference/filters/admin_dashboard_stats.rst index 79be5664..5e2aef2b 100644 --- a/source/Reference/filters/admin_dashboard_stats.rst +++ b/source/Reference/filters/admin_dashboard_stats.rst @@ -35,7 +35,8 @@ The structure of the items in the ``$stats`` array changed in Omeka 3.1. In 3.1 each array entry should follow this pattern: .. code-block:: php - $stats['items'] = array(total_records('Item'), __('items')); + + $stats['items'] = array(total_records('Item'), __('items')); The array key is a record type that is passed to :php:func:`link_to`, and the value array's two items are first the number to display, and second the label.