[Koha-bugs] [Bug 13054] New: Allow server-side sorting by title to ignore custom sets of articles to ignore

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 9 16:27:18 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13054

            Bug ID: 13054
           Summary: Allow server-side sorting by title to ignore custom
                    sets of articles to ignore
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

When sorting clent-side DataTables-enhanced tables by title, it's possible to
use a custom sorting algorithm to ignore articles, based on this configuration
in datatables-strings.inc:

var CONFIG_EXCLUDE_ARTICLES_FROM_SORT = _("a an the");

...and the "anti-the" sorting code in js/datatables.js. This doesn't work with
server-side DataTables implementations, which means that sorting by title on
the circulation and patron detail pages no longer works as well as it did
before those pages were redone with AJAX datatables.

I would like to see some kind of implementation which continued to enable the
user to define articles to exclude from sorting and would work at the database
level so that AJAX datatables could be correctly sorted.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list