http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5766
Katrin Fischer <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #19438|0 |1 is obsolete| | --- Comment #4 from Katrin Fischer <[email protected]> --- Created attachment 19463 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19463&action=edit [PASSED QA] Bug 5766 - Add configuration for excluding articles from DataTables sorting Client-side table sorting should exclude articles like "a," "an," and "the" when sorting by title. This patch adds a custom sorting plugin for use by DataTables and a configuration line to the DataTables string configuration file which can be translated for any language. As an example, this patch modifies the patron checkout history template to use the new sort on the title column. To test, apply the patch and clear your browser cache to ensure the revised JavaScript file is loaded. Sort the table by title. Titles should be sorted regardless of the presences of "a," "an", or "the" at the beginning of the title. Signed-off-by: Chris Cormack <[email protected]> Signed-off-by: Katrin Fischer <[email protected]> Passes all tests and is a good improvement. I have added German articles to the list for testing purposes and it worked nicely. -- You are receiving this mail because: You are the QA Contact for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
