Koha/koha-tmpl/intranet-tmpl/prog/en/includes
Owen Leonard 33054ce13a 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 <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and is a good improvement.
I have added German articles to the list for testing purposes
and it worked nicely.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-07-08 15:37:02 +00:00
..
virtualshelves/merge
acquisitions-add-to-basket.inc Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
acquisitions-menu.inc Bug 5339: Invoices management improvement 2012-09-18 22:42:15 +02:00
acquisitions-search.inc Bug 10115 - Hiding advanced search in Orders search tab removes plus button 2013-04-26 07:53:49 -04:00
acquisitions-toolbar.inc Bug 9674 - Replace YUI buttons and menu on acquisitions pages with Bootstrap 2013-03-02 12:22:07 -05:00
additem.js.inc
admin-menu.inc Bug 7440 - Remove NoZebra vestiges 2013-03-19 21:17:04 -04:00
auth-finder-search.inc Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
authorities-search-results.inc Bug 8870 UNIMARC authorities search doesn't display information properly 2012-10-22 17:50:06 +02:00
authorities-search.inc Bug 8692: Authorities search form does not correspond to current search query 2012-09-20 14:06:41 +02:00
authorities-toolbar.inc Bug 9675 - Replace YUI buttons on authorities home page with Bootstrap 2013-03-02 12:20:08 -05:00
authorities.inc Bug 8523: Display auth hierarchies w/all marcflavours 2012-09-21 14:52:08 +02:00
biblio-default-view.inc
biblio-view-menu.inc Bug 5357: Adds a new page for searching subscriptions 2012-09-18 22:37:11 +02:00
budgets-active-currency.inc
budgets-admin-search.inc
budgets-admin-toolbar.inc Bug 9628 - Replace YUI buttons and menus on budgets administration pages with Bootstrap 2013-02-18 08:24:37 -05:00
calendar.inc Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
cat-menu.inc
cat-search.inc
cat-toolbar.inc Bug 9665: add RIS and BIBTEXT bibliographic record export to staff interface 2013-06-17 11:24:31 -07:00
cataloging-search.inc
checkin-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
checkouts-table-footer.inc Bug 8972 - Due Date set to 100 years ago 2012-11-08 23:23:25 -05:00
circ-menu.inc Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
circ-menu.tt Bug 10261: Link to patron files missing from circ-menu.tt 2013-05-22 07:41:16 -07:00
circ-search.inc
cities-admin-search.inc
contracts-admin-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
currencies-admin-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
datatables-strings.inc Bug 5766 - Add configuration for excluding articles from DataTables sorting 2013-07-08 15:37:02 +00:00
date-format.inc Bug 9508: Standardize the dateformat value from C4::Auth 2013-05-20 09:05:01 -07:00
doc-head-close-receipt.inc
doc-head-close.inc Bug 9779 - Remove global include of YUI assets from the staff client 2013-06-16 15:24:19 -07:00
doc-head-open.inc Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
error-messages.inc
facets.inc Bug 8989 - Availability facet needs an id 2012-11-08 23:23:25 -05:00
favicon.ico
file-upload.inc
form-blocks.inc
greybox.inc
guided-reports-view.inc
header.inc Bug 10414 - "Course Reserves" should be "Course reserves" in global "More" menu 2013-06-07 08:23:22 -07:00
help-bottom.inc
help-top.inc Bug 10052 Followup for edithelp.tt and help-top.inc 2013-05-23 08:55:11 -07:00
home-search.inc
installer-doc-head-close.inc Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
intranet-bottom.inc Bug 9420 [Revised] Work on Bootstrap for Koha 2013-02-15 09:04:17 -05:00
intranetstylesheet.inc Bug 10052 Followup for edithelp.tt and help-top.inc 2013-05-23 08:55:11 -07:00
labels-menu.inc
labels-toolbar.inc Bug 9636 - Replace YUI buttons on labels pages with Bootstrap 2013-02-18 08:57:34 -05:00
letters-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
members-menu.inc
members-toolbar.inc Bug 9406: ensure confirmation of patron renewal is displayed 2013-03-30 21:22:00 -04:00
messaging-preference-form.inc Bug 9002 - Remove Problematic Logic from Patron Messaging Preferences Form 2013-03-30 21:14:24 -04:00
page-numbers.inc Bug 9134: There is no previous link on the second page of the search results page 2012-12-02 09:16:58 -05:00
patron-search-box.inc Bug 10406: memove div and more obsolete CSS related to YUI autocomplete 2013-06-12 07:24:30 -07:00
patron-search.inc Bug 8845 - Add ability search patrons by date of birth - Add tooltip 2013-05-30 08:20:08 -07:00
patron-title.inc Bug 2930 [REVISED] Put other name on checkout screen 2012-10-09 12:23:39 +02:00
patron-toolbar.inc Bug 9772 - Display Norwegian chars correctly in the patron category dropdown 2013-03-20 08:02:52 -04:00
patroncards-menu.inc
patroncards-toolbar.inc Bug 9698 - Replace YUI buttons on patron card creator manage toolbar with Bootstrap 2013-03-07 09:52:20 -05:00
patrons-admin-search.inc
popup-bottom.inc
prefs-admin-search.inc Bug 8702: System preferences search does not allow accented letters 2012-09-26 19:02:18 +02:00
prefs-menu.inc Bug 7986 Follow Up: Update ExportWithCsvProfile 2012-10-19 17:54:23 +02:00
printers-admin-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
quotes-toolbar.inc Bug 9645 - Replace YUI buttons on the quotes management page with Bootstrap 2013-02-18 09:09:57 -05:00
quotes-upload-toolbar.inc Bug 9645 - Replace YUI buttons on the quotes management page with Bootstrap 2013-02-18 09:09:57 -05:00
reports-menu.inc
reports-toolbar.inc Bug 9625 - Replace YUI buttons and menus on reports pages with Bootstrap 2013-02-20 08:27:15 -05:00
resort_form.inc
roadtype-admin-search.inc
search_indexes.inc Bug 9395: Problem with callnumber and standard number searches 2013-02-15 18:30:15 -05:00
serials-menu.inc Revert "Merge branch 'bug_7688' into 3.12-master" 2013-03-23 00:36:37 -04:00
serials-search.inc Bug 5357: Adds a new page for searching subscriptions 2012-09-18 22:37:11 +02:00
serials-toolbar.inc Bug 9627 - Replace YUI buttons and menus on serials pages with Bootstrap 2013-02-18 08:22:59 -05:00
stopwords-admin-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
subscriptions-search.inc Bug 5343: Link serial and acqui modules 2013-03-22 23:54:43 -04:00
subtypes_unimarc.inc Bug 9402: letter v between 2 option tags 2013-01-24 08:56:14 -05:00
suggestions-add-search.inc Bug 9608 - White background on header on check in 2013-02-15 07:49:13 -05:00
tools-item-action.inc
tools-menu.inc bug 9360 - Clean borrowers tool wording and layout problematic 2013-01-14 22:51:55 -05:00
tools-nomatch-action.inc
tools-overlay-action.inc
validator-strings.inc Bug 6209 follow-up, make strings translatable 2013-03-23 00:12:59 -04:00
vendor-menu.inc Bug 8913 [Revised] Improve acquisitions navigation 2013-02-20 09:17:21 -05:00
virtualshelves-toolbar.inc Bug 9621 - Replace YUI menu on lists pages with Bootstrap 2013-02-18 08:03:42 -05:00
z3950-admin-search.inc Bug 10307 - z39.50 server search tab shows z390.50 2013-06-04 11:41:10 -07:00