We don't need to have a columnDefs for NoSort or anti-the, they are already defined in the global datatables.js
Created attachment 177253 [details] [review] Bug 38984: Remove NoSort def No need to pass it to the constructor as it's defined already in datatables.js
Created attachment 177254 [details] [review] Bug 38984: Replace nosort with NoSort We don't need nosort and NoSort, use NoSort everywhere
Created attachment 177255 [details] [review] Bug 38984: Remove anti-the Same as previouly for anti-the
Created attachment 177256 [details] [review] Bug 38984: Add NoSort when can replace targets In those occurrences we can simply use NoSort. It fixes some bugs, where the display of the column depends on some pref's values
Created attachment 177257 [details] [review] Bug 38984: Allow sort on all fields - club-enrollments it does not make sense to remove sorting only for the last 2 fields
Created attachment 177258 [details] [review] Bug 38984: Also make 'Actions' translatable
Created attachment 177259 [details] [review] Bug 38984: Specific - tools/batch_extend_due_dates.tt Why no sort on item type? Why no sort on #checkouts_result?
Also tempted to rename NoSort with no-sort and NoExport with no-export, to match string-sort, anti-the, etc.
(In reply to Jonathan Druart from comment #8) > Also tempted to rename NoSort with no-sort and NoExport with no-export, to > match string-sort, anti-the, etc. And it's "noExport"...
Created attachment 177278 [details] [review] Bug 38984: Add NoSort when can replace targets In those occurrences we can simply use NoSort. It fixes some bugs, where the display of the column depends on some pref's values
Created attachment 177279 [details] [review] Bug 38984: Allow sort on all fields - club-enrollments it does not make sense to remove sorting only for the last 2 fields
Created attachment 177280 [details] [review] Bug 38984: Also make 'Actions' translatable
Created attachment 177281 [details] [review] Bug 38984: Specific - tools/batch_extend_due_dates.tt Why no sort on item type? Why no sort on #checkouts_result?
Created attachment 177597 [details] [review] Bug 38984: Also make 'Actions' translatable Current status: Patch doesn't apply
Created attachment 177598 [details] [review] Bug 38984: Specific - tools/batch_extend_due_dates.tt Why no sort on item type? Why no sort on #checkouts_result?
Created attachment 177641 [details] [review] Bug 38984: Remove NoSort def No need to pass it to the constructor as it's defined already in datatables.js Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177642 [details] [review] Bug 38984: Replace nosort with NoSort We don't need nosort and NoSort, use NoSort everywhere Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177643 [details] [review] Bug 38984: Remove anti-the Same as previouly for anti-the Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177644 [details] [review] Bug 38984: Add NoSort when can replace targets In those occurrences we can simply use NoSort. It fixes some bugs, where the display of the column depends on some pref's values Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177645 [details] [review] Bug 38984: Allow sort on all fields - club-enrollments it does not make sense to remove sorting only for the last 2 fields Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177646 [details] [review] Bug 38984: Also make 'Actions' translatable Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177647 [details] [review] Bug 38984: Specific - tools/batch_extend_due_dates.tt Why no sort on item type? Why no sort on #checkouts_result? Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Created attachment 177648 [details] [review] Bug 38984: (follow-up) Fix syntax error in invoice-files table
Created attachment 177649 [details] [review] 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).
Created attachment 177651 [details] [review] Bug 38984: (follow-up) Replace obsolete "paginate" option with "paging"