From 3aa051f046f0105a5c8acc85db592f613851a52b Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 7 Feb 2025 16:44:06 +0000 Subject: [PATCH] Bug 38984: (follow-up) Fix nosort class on first column Changing "nosort" to "NoSort". Also adding an "order" option to the table configuration so that the table isn't sorted by default on the first column (overriding the NoSort option). --- koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc | 4 ++-- koha-tmpl/intranet-tmpl/prog/js/recalls.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc index d1cf87ac04f..f5c20e312fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/recalls.inc @@ -4,7 +4,7 @@ - [% IF checkboxes %][% END %] + [% IF checkboxes %][% END %] [% UNLESS specific_patron %][% END %] @@ -12,7 +12,7 @@ [% UNLESS viewing_old %][% END %] - [% UNLESS viewing_old %][% END %] + [% UNLESS viewing_old %][% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/js/recalls.js b/koha-tmpl/intranet-tmpl/prog/js/recalls.js index 23efafa66f5..1da935810a9 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/recalls.js +++ b/koha-tmpl/intranet-tmpl/prog/js/recalls.js @@ -129,6 +129,7 @@ $(document).ready(function () { $("#recalls-table").kohaTable({ columnDefs: [{ type: "title-string", targets: ["title-string"] }], + order: [[1, "asc"]], pagingType: "full_numbers", }); -- 2.39.5
  TitleRequested byPlaced onPickup location StatusDue date