[Koha-bugs] [Bug 29949] Remove use of title-numeric sorting routine from OPAC datatables JS

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 26 17:37:26 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29949

Lucas Gass <lucas at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lucas at bywatersolutions.com

--- Comment #3 from Lucas Gass <lucas at bywatersolutions.com> ---
before patch:

root at kohadevbox:koha(master)$ git grep 'title-numeric'
koha-tmpl/intranet-tmpl/lib/datatables/datatables.js:                    *   
$.fn.dataTable.ext.type.search['title-numeric'] = function ( d ) {
koha-tmpl/intranet-tmpl/prog/js/datatables.js: *        { "sType":
"title-numeric" },
koha-tmpl/intranet-tmpl/prog/js/datatables.js:    "title-numeric-pre": function
( a ) {
koha-tmpl/intranet-tmpl/prog/js/datatables.js:    "title-numeric-asc": function
( a, b ) {
koha-tmpl/intranet-tmpl/prog/js/datatables.js:    "title-numeric-desc":
function ( a, b ) {
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt:                   
{ "type": "title-numeric", "targets" : [ "title-num"] },
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js: *        { "sType":
"title-numeric" },
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js:    "title-numeric-pre":
function ( a ) {
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js:    "title-numeric-asc":
function ( a, b ) {
koha-tmpl/opac-tmpl/bootstrap/js/datatables.js:    "title-numeric-desc":
function ( a, b ) {


after patch:

root at kohadevbox:koha(master)$ git grep 'title-numeric'
koha-tmpl/intranet-tmpl/lib/datatables/datatables.js:                    *   
$.fn.dataTable.ext.type.search['title-numeric'] = function ( d ) {

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


More information about the Koha-bugs mailing list