Bugzilla – Attachment 176303 Details for
Bug 38778
Allow for custom sort order in holdshistory table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38778: Add default_sort_order to holdshistory table
Bug-38778-Add-defaultsortorder-to-holdshistory-tab.patch (text/plain), 1.70 KB, created by
ByWater Sandboxes
on 2025-01-09 20:25:07 UTC
(
hide
)
Description:
Bug 38778: Add default_sort_order to holdshistory table
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2025-01-09 20:25:07 UTC
Size:
1.70 KB
patch
obsolete
>From cdd441adc74469b03d59b615483ca2264feda081 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Mon, 23 Dec 2024 18:15:10 +0000 >Subject: [PATCH] Bug 38778: Add default_sort_order to holdshistory table > >To test: >1. APPLY PATCH, restart_all >2. If you are saving the configuration state you need to clear cookies/cache >3. To go Table settings, find the holdshistory table >4. Try applying some different "Default sort order:" >5. Find a patron with a holds history and make sure the default sort order is working > >Signed-off-by: William Lavoie <william.lavoie@inLibro.com> >--- > admin/columns_settings.yml | 1 + > koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt | 1 - > 2 files changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml >index cf3beff558..545e39f32a 100644 >--- a/admin/columns_settings.yml >+++ b/admin/columns_settings.yml >@@ -1385,6 +1385,7 @@ modules: > holdshistory: > holdshistory-table: > default_display_length: 20 >+ default_sort_order: 3 > columns: > - > columnname: title >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >index f224391bec..b3dd6dd118 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt >@@ -151,7 +151,6 @@ > [% END %] > var table = KohaTable("table_holdshistory", { > "pagingType": "full", >- "order": [[4, 'desc']] > }, table_settings); > }); > </script> >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38778
:
175914
| 176303