From 8e211a1fefa13e54ea01f38fdfe972f1cd603fc7 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. Signed-off-by: Emily Lamancusa Signed-off-by: Julian Maurice Signed-off-by: Katrin Fischer --- admin/columns_settings.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 475bd1f3fe..82548ed2c5 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -371,6 +371,7 @@ modules: catalogue: detail: holdings_table: + default_display_length: 20 columns: - columnname: holdings_checkbox @@ -437,6 +438,7 @@ modules: cannot_be_modified: 1 otherholdings_table: + default_display_length: 20 columns: - columnname: otherholdings_checkbox -- 2.39.5