Bugzilla – Attachment 177649 Details for
Bug 38984
DataTables's columnDefs cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38984: (follow-up) Fix nosort class on first column
Bug-38984-follow-up-Fix-nosort-class-on-first-colu.patch (text/plain), 2.25 KB, created by
Owen Leonard
on 2025-02-07 16:52:26 UTC
(
hide
)
Description:
Bug 38984: (follow-up) Fix nosort class on first column
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-02-07 16:52:26 UTC
Size:
2.25 KB
patch
obsolete
>From 1cbd3b039de159597acf7a063f948dc0d6f64802 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 dc7c77dcc2..9c96b06ad2 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 @@ > <table id="recalls-table"> > <thead> > <tr> >- [% IF checkboxes %]<th class="recall-checkbox nosort"> </th>[% END %] >+ [% IF checkboxes %]<th class="recall-checkbox NoSort"> </th>[% END %] > <th class="recall-title anti-the">Title</th> > [% UNLESS specific_patron %]<th class="recall-patron">Requested by</th>[% END %] > <th class="recall-date">Placed on</th> >@@ -12,7 +12,7 @@ > <th class="recall-branch">Pickup location</th> > <th class="recall-status">Status</th> > [% UNLESS viewing_old %]<th class="recall-duedate">Due date</th>[% END %] >- [% UNLESS viewing_old %]<th class="recall-actions nosort"> </th>[% END %] >+ [% UNLESS viewing_old %]<th class="recall-actions NoSort"> </th>[% END %] > </tr> > </thead> > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/recalls.js b/koha-tmpl/intranet-tmpl/prog/js/recalls.js >index 02541cbe0c..0595211b09 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/recalls.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/recalls.js >@@ -106,6 +106,7 @@ $(document).ready(function() { > columnDefs: [ > { type: "title-string", targets: ["title-string"] }, > ], >+ order: [[1, "asc"]], > pagingType: "full_numbers", > }); > >-- >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 38984
:
177253
|
177254
|
177255
|
177256
|
177257
|
177258
|
177259
|
177278
|
177279
|
177280
|
177281
|
177597
|
177598
|
177641
|
177642
|
177643
|
177644
|
177645
|
177646
|
177647
|
177648
|
177649
|
177651
|
177933
|
177934
|
177935
|
177936
|
177937
|
177938
|
177939
|
177940
|
177941
|
177942
|
179057
|
179058
|
179059
|
179060
|
179061
|
179062
|
179063
|
179064
|
179065
|
179066