From 77a6dea33f70e9651e4122102d87e61a4fd4c5fd Mon Sep 17 00:00:00 2001
From: Lucas Gass <lucas@bywatersolutions.com>
Date: Wed, 14 Feb 2024 16:55:33 +0000
Subject: [PATCH] Bug 36096: Add ability to set default sort and length to
waitingreserves tables
To test:
1. APPLY patch and restart services.
2. Have waiting holds, waiting holds past the expiration date, and
waiting holds with cancellation requests.
3. Go to Administration -> Table settings and find each of the tables. (
holdscr | holdso | holdst )
4. Each table should now include a 'Default display length:' and
'Default sort order:'
5. Play with those Table settings, ensuring they behave correctly.
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
---
admin/columns_settings.yml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml
index 41cfe87edbb..66586cef079 100644
--- a/admin/columns_settings.yml
+++ b/admin/columns_settings.yml
@@ -1792,6 +1792,8 @@ modules:
holds_awaiting_pickup:
holdst:
+ default_display_length: 20
+ default_sort_order: 1
columns:
-
columnname: checkbox
@@ -1823,6 +1825,8 @@ modules:
columnname: action
holdso:
+ default_display_length: 20
+ default_sort_order: 1
columns:
-
columnname: checkbox
@@ -1854,6 +1858,8 @@ modules:
columnname: action
holdscr:
+ default_display_length: 20
+ default_sort_order: 1
columns:
-
columnname: checkbox
--
2.45.0