[Koha-bugs] [Bug 5766] New: Add system preference for excluding articles from jQuery table sorter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 16 16:04:55 CET 2011


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

           Summary: Add system preference for excluding articles from
                    jQuery table sorter
 Change sponsored?: ---
           Product: Koha
           Version: master
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: I18N/L10N
        AssignedTo: frederic at tamil.fr
        ReportedBy: oleonard at myacpl.org
         QAContact: koha-bugs at lists.koha-community.org
   Estimated Hours: 0.0


The jQuery table sorter can be configured with a custom parser for excluding
articles from sorting. Many pages in Koha already include this, but for English
only:

  $.tablesorter.addParser({
    id: 'articles', 
    is: function(s) {return false;  }, 
    format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
    type: 'text' 
  });

A system preference should be created to contain the pipe-delimited articles
(or other text) for exclusion so that speakers of other languages can include
their own.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list