From 5616f425b3d9280ca4d25334a104d60d0250dd29 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 31 Oct 2023 09:00:11 +0100 Subject: [PATCH] Bug 35191: Make entries per page configurable for items table on staff detail page The new API driven items view defaults to 20 per page. This is a bit low, it would be great if it could be configurable to a higher value per the table configuration. Test plan: 1. Apply this patch 2. restart_all (memcached restart is required) 3. Go to Administration > Table settings 4. Catalogue > holdings_table | otherholdings_table => Notice the new "Default display length" 5. Select something else than 20 6. Go to the detail page of a record with lot of records => Notice that the default value defined in the settings is used. --- admin/columns_settings.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index b379f5863b9..ad4127ca2e5 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -369,6 +369,7 @@ modules: catalogue: detail: holdings_table: + default_display_length: 20 columns: - columnname: holdings_checkbox @@ -432,6 +433,7 @@ modules: cannot_be_modified: 1 otherholdings_table: + default_display_length: 20 columns: - columnname: otherholdings_checkbox -- 2.34.1