From 769556b42a8ad2aadf89318094a5e828909e7991 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 25 Mar 2021 12:33:53 +0000 Subject: [PATCH] Bug 27998: (follow-up) Address missing instances Remove title-string option from dataTable configurations. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 3 +-- .../prog/en/modules/serials/serials-collection.tt | 3 +-- .../intranet-tmpl/prog/en/modules/serials/serials-search.tt | 2 -- koha-tmpl/intranet-tmpl/prog/js/subscription-add.js | 1 - 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt index b60243b676..1eb315c27f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -222,8 +222,7 @@ "sDom": 't', "aoColumnDefs": [ { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }, - { 'sType': "anti-the", 'aTargets' : [ 'anti-the'] }, - { 'sType': "title-string", 'aTargets' : [ 'title-string'] } + { 'sType': "anti-the", 'aTargets' : [ 'anti-the'] } ], "bPaginate": false })); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt index c3f5a65dbc..b75079db1f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt @@ -345,8 +345,7 @@ $('#subscription_years').tabs(); $(".subscription-year-table").dataTable($.extend(true, {}, dataTablesDefaults, { "aoColumnDefs": [ - { "aTargets": [ 0,-1 ], "bSortable": false, "bSearchable": false }, - { "sType": "title-string", "aTargets" : [ "title-string" ] } + { "aTargets": [ 0,-1 ], "bSortable": false, "bSearchable": false } ], "aaSorting": [[0, 'desc']], "sDom": 't', diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt index 724fd91521..199a1dd34a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt @@ -463,7 +463,6 @@ "order": [[ 2, "asc" ]], "aoColumnDefs": [ { 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, - { "sType": "title-string", "aTargets" : [ "title-string" ] }, { 'sType': "anti-the", 'aTargets' : [ 'anti-the'] } ] })); @@ -482,7 +481,6 @@ "sPaginationType": "full", "aoColumnDefs": [ { 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, - { "sType": "title-string", "aTargets" : [ "title-string" ] }, { 'sType': "anti-the", 'aTargets' : [ 'anti-the'] } ] })); diff --git a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js index ac656eacbd..297756b59e 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js +++ b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js @@ -426,7 +426,6 @@ function mana_search() { ], "aoColumnDefs": [ { 'bSortable': false, "bSearchable": false, 'aTargets': [ 'NoSort' ] }, - { "sType": "title-string", "aTargets" : [ "title-string" ] }, { 'sType': "anti-the", 'aTargets' : [ 'anti-the'] } ] })); -- 2.39.5