Bugzilla – Attachment 181021 Details for
Bug 38984
DataTables's columnDefs cleanup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38984: Remove NoSort def
Bug-38984-Remove-NoSort-def.patch (text/plain), 24.30 KB, created by
Owen Leonard
on 2025-04-16 16:03:36 UTC
(
hide
)
Description:
Bug 38984: Remove NoSort def
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2025-04-16 16:03:36 UTC
Size:
24.30 KB
patch
obsolete
>From a6edb73d08a8e6c86ca1d4b4231e6faa842b7a48 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 28 Jan 2025 10:53:38 +0100 >Subject: [PATCH] Bug 38984: Remove NoSort def > >No need to pass it to the constructor as it's defined already in >datatables.js > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> >--- > .../intranet-tmpl/prog/en/modules/acqui/basketgroup.tt | 2 -- > .../prog/en/modules/acqui/newordersubscription.tt | 5 +---- > .../intranet-tmpl/prog/en/modules/acqui/supplier.tt | 3 --- > .../prog/en/modules/acqui/uncertainprice.tt | 1 - > .../prog/en/modules/admin/auth_subfields_structure.tt | 1 - > .../prog/en/modules/admin/localization.tt | 1 - > .../intranet-tmpl/prog/en/modules/admin/oai_servers.tt | 1 - > .../intranet-tmpl/prog/en/modules/catalogue/detail.tt | 1 - > .../prog/en/modules/circ/checkout-notes.tt | 5 +---- > .../en/modules/circ/circulation_batch_checkouts.tt | 1 - > .../prog/en/modules/circ/pendingreserves.tt | 3 --- > .../prog/en/modules/clubs/patron-clubs-tab.tt | 1 - > .../prog/en/modules/patron_lists/lists.tt | 1 - > .../prog/en/modules/patron_lists/patron-lists-tab.tt | 1 - > .../prog/en/modules/reports/guided_reports_start.tt | 1 - > .../intranet-tmpl/prog/en/modules/reports/itemslost.tt | 3 --- > .../prog/en/modules/serials/serials-search.tt | 3 --- > .../prog/en/modules/tools/additional-contents.tt | 5 +---- > .../prog/en/modules/tools/overduerules.tt | 1 - > .../prog/en/modules/tools/problem-reports.tt | 5 +---- > koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js | 5 +---- > koha-tmpl/intranet-tmpl/prog/js/cart.js | 1 - > koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 9 +-------- > .../intranet-tmpl/prog/js/elasticsearch-mappings.js | 8 +------- > .../intranet-tmpl/prog/js/marc_subfields_structure.js | 1 - > koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js | 10 ++-------- > koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js | 5 +---- > koha-tmpl/intranet-tmpl/prog/js/subscription-add.js | 5 +---- > .../opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt | 1 - > .../opac-tmpl/bootstrap/en/modules/opac-topissues.tt | 1 - > 30 files changed, 11 insertions(+), 80 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >index ba83451cf2d..8918500e816 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt >@@ -437,7 +437,6 @@ > [% ELSE %] > grouped = $("#grouped").kohaTable({ > dom: "t", >- columnDefs: [{ orderable: false, targets: ["NoSort"] }], > autoWidth: false, > language: { > emptyTable: _("There are no baskets in this group"), >@@ -445,7 +444,6 @@ > }); > ungrouped = $("#ungrouped").kohaTable({ > dom: "t", >- columnDefs: [{ orderable: false, targets: ["NoSort"] }], > autoWidth: false, > language: { > emptyTable: _("There are no ungrouped baskets"), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt >index f19e75f1578..36e9436dda0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/newordersubscription.tt >@@ -125,10 +125,7 @@ > > $(document).ready(function () { > $("#srlt").kohaTable({ >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full", > }); > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >index afc1fc662d4..b905c7a9174 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt >@@ -688,9 +688,6 @@ > > $(document).ready(function() { > var contractst = $("#contractst").kohaTable({ >- columnDefs: [ >- { orderable: false, searchable: false, targets: [ 'NoSort' ] } >- ], > dom: 't' > } ); > $('body').on('click', '.delete-contact', null, delete_contact); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >index 3f488434aa2..f824eecfda9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/uncertainprice.tt >@@ -192,7 +192,6 @@ > <script> > $(document).ready(function () { > var uncertainpricet = $("#uncertainpricet").kohaTable({ >- columnDefs: [{ orderable: false, searchable: false, targets: ["NoSort"] }], > pagingType: "full", > }); > $(".check_uncertain").on("change", function () { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >index d712da9c598..01ceec9278e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >@@ -438,7 +438,6 @@ > <script> > $(document).ready(function() { > $("#table_authsubfieldstructure").kohaTable({ >- columnDefs: [{ orderable: false, targets: ["NoSort"] }], > aaSorting: [], > paginate: false, > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >index 2fae79bbd29..d72a3065628 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/localization.tt >@@ -200,7 +200,6 @@ > > var table = $("#localization").kohaTable({ > dom: "t", >- columnDefs: [{ orderable: false, targets: ["NoSort"] }], > paginate: false, > autoWidth: false, > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_servers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_servers.tt >index e62f8fcc65a..a0ad57d7357 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_servers.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_servers.tt >@@ -213,7 +213,6 @@ > [% ELSE %] > $(document).ready(function() { > $("#serverst").kohaTable({ >- columnDefs: [{ orderable: false, targets: ["NoSort"] }], > pagingType: "full", > }); > $(".delete").on("click",function(e){ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >index 801f7dad1ea..dffdef626d1 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -2088,7 +2088,6 @@ > [% IF suggestions.count %] > $("#suggestions").kohaTable({ > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > ], > pagingType: "full", >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >index 3da5fce04f7..32882253d37 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/checkout-notes.tt >@@ -122,10 +122,7 @@ > $(document).ready(function () { > $("#notestable").kohaTable({ > order: [[1, "asc"]], >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full", > }); > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >index f8ab4c2f2de..339e45eb00a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt >@@ -363,7 +363,6 @@ > dom: "t", > order: [], > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > ], > paginate: false, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >index 966888bec9b..b54e790c3f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt >@@ -321,9 +321,6 @@ > var holdst = $("#holdst").kohaTable( > { > pagingType: "full_numbers", >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- ], > }, > table_settings, > true, >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt >index e8705705521..bbdb2c64480 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-clubs-tab.tt >@@ -60,7 +60,6 @@ > [% END %] > <script> > var clubs_dt_params = { >- columnDefs: [{ orderable: false, targets: ["NoSort"] }], > paginate: true, > }; > $("#table_clubnoenrollmemnts").kohaTable(clubs_dt_params); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >index 36d5fe8c59d..c46ac69c739 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/lists.tt >@@ -173,7 +173,6 @@ > > $("#patron-lists-table").kohaTable({ > autoWidth: false, >- columnDefs: [{ orderable: false, searchable: false, targets: ["NoSort"] }], > pagingType: "full", > "sorting": [[ 1, "asc" ]] > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt >index 950d019a371..7e52134c532 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/patron-lists-tab.tt >@@ -122,7 +122,6 @@ > [% END %] > <script> > var patron_lists_dt_params = { >- columnDefs: [{ orderable: false, bSearchable: false, targets: ["NoSort"] }], > sPaginationType: "full", > }; > $("#table_listnopatron").kohaTable(patron_lists_dt_params); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index 4be3c64ac90..bb7c8880777 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -2550,7 +2550,6 @@ > { "width": "35%", "targets": 1 } > ], > "columnDefs": [ >- { "orderable": false, "searchable": false, "targets": [ 'NoSort' ] }, > { "type": "anti-the", "targets": [ 'anti-the'] } > ] > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >index 02b37fcc959..2856a834bc9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemslost.tt >@@ -205,9 +205,6 @@ > var lostitems_table = $("#lostitems-table").kohaTable( > { > order: [], >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- ], > autoWidth: false, > paginate: false, > }, >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 500f5a62c51..e13a5b86f85 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 >@@ -338,7 +338,6 @@ > pagingType: "full", > order: [[2, "asc"]], > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > ], > }); >@@ -348,7 +347,6 @@ > order: [[2, "asc"]], > pagingType: "full", > columnDefs: [ >- { orderable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > ], > }); >@@ -356,7 +354,6 @@ > var manarlt = $("#mana_results_datatable").kohaTable({ > pagingType: "full", > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > ], > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >index 55ff68620e7..0786d89f88e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >@@ -597,10 +597,7 @@ > $(document).ready(function () { > var table = $("#table_additional_contents").kohaTable({ > order: [[4, "desc"]], >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full_numbers", > }); > let table_dt = table.DataTable(); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >index 094feee82fd..ae135ece3c0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt >@@ -189,7 +189,6 @@ > $("#rulestabs a:first").tab("show"); > } > $(".overduerulest").kohaTable({ >- columnDefs: [{ targets: ["NoSort"], orderable: false, searchable: false }], > dom: '<"top pager"f>rt<"clear">', > paginate: false, > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt >index 2141d41132d..0ecfd46a816 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/problem-reports.tt >@@ -144,10 +144,7 @@ > $(document).ready(function () { > $("#problemreportstable").kohaTable({ > order: [[1, "asc"]], >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full", > }); > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js b/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js >index cd999e95064..7a96463b1f0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/addorderiso2709.js >@@ -3,10 +3,7 @@ > $(document).ready(function () { > $("#Aform").preventDoubleFormSubmit(); > $("#files").kohaTable({ >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full", > order: [], > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/js/cart.js b/koha-tmpl/intranet-tmpl/prog/js/cart.js >index 2a483f1fc45..e3d4680a2e6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/cart.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/cart.js >@@ -97,7 +97,6 @@ $(document).ready(function () { > $("#itemst").kohaTable({ > dom: "t", > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > { type: "callnumbers", targets: ["callnumbers"] }, > ], >diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >index f11f755964a..5238f59740c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js >@@ -1384,14 +1384,7 @@ $(document).ready(function () { > autoWidth: false, > dom: "rt", > order: [], >- columnDefs: [ >- { >- orderable: false, >- searchable: false, >- targets: ["NoSort"], >- }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > columns: [ > { > data: "id", >diff --git a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >index 65d9bd18f8e..577dc669bad 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/elasticsearch-mappings.js >@@ -53,9 +53,6 @@ function tableInit(oldtabid, newtabid) { > } > > $("#" + newtabid + "_table").kohaTable({ >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- ], > paging: false, > autoWidth: false, > }); >@@ -154,10 +151,7 @@ $(document).ready(function () { > > $("#facet_biblios_table").DataTable( > $.extend(true, {}, dataTablesDefaults, { >- columnDefs: [ >- { orderable: false, targets: ["NoSort"] }, >- { searchable: false, visible: false, targets: 0 }, >- ], >+ columnDefs: [{ searchable: false, visible: false, targets: 0 }], > dom: "t", > paging: false, > autoWidth: false, >diff --git a/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js b/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js >index f1b4cf8c5c6..0d66955cf87 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/marc_subfields_structure.js >@@ -30,7 +30,6 @@ $(document).ready(function () { > populateHiddenCheckboxes($(this).attr("id").split("-")[1]); > }); > $("#table_marcsubfieldstructure").kohaTable({ >- columnDefs: [{ sortable: false, targets: ["NoSort"] }], > order: [], > paginate: false, > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js b/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js >index 9aa5dc652ea..e31126a5dbf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/stockrotation.js >@@ -73,10 +73,7 @@ $(document).ready(function () { > > $("#stock_rotation_manage_items").kohaTable( > { >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full", > autoWidth: false, > }, >@@ -85,10 +82,7 @@ $(document).ready(function () { > > $("#stock_rotation").kohaTable( > { >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > pagingType: "full", > autoWidth: false, > }, >diff --git a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js b/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js >index 67b68b7dec5..200e19854fb 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/pages/tags-review.js >@@ -75,10 +75,7 @@ var success_test_call = function () { > > $(document).ready(function () { > $("#tagst").kohaTable({ >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > order: [[2, "desc"]], > pagingType: "full", > }); >diff --git a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js >index 76aded3f56c..30f8c054a0b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/subscription-add.js >@@ -564,10 +564,7 @@ function mana_search() { > ], > autoWidth: false, > columnDefs: [{ width: "35%", targets: 1 }], >- columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, >- { type: "anti-the", targets: ["anti-the"] }, >- ], >+ columnDefs: [{ type: "anti-the", targets: ["anti-the"] }], > }); > if ( > $("#mana_results_datatable").length && >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >index aceb02c9f06..13066696e85 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/clubs-tab.tt >@@ -106,7 +106,6 @@ > details: { type: "column", target: -1 }, > }, > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { className: "dtr-control", orderable: false, targets: -1 }, > ], > }); >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >index afb02184199..20d84d737f7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-topissues.tt >@@ -150,7 +150,6 @@ > $("#topissuest").kohaTable({ > sorting: [[3, "desc"]], > columnDefs: [ >- { orderable: false, searchable: false, targets: ["NoSort"] }, > { type: "anti-the", targets: ["anti-the"] }, > { className: "dtr-control", orderable: false, targets: -1 }, > ], >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 38984
:
177253
|
177254
|
177255
|
177256
|
177257
|
177258
|
177259
|
177278
|
177279
|
177280
|
177281
|
177597
|
177598
|
177641
|
177642
|
177643
|
177644
|
177645
|
177646
|
177647
|
177648
|
177649
|
177651
|
177933
|
177934
|
177935
|
177936
|
177937
|
177938
|
177939
|
177940
|
177941
|
177942
|
179057
|
179058
|
179059
|
179060
|
179061
|
179062
|
179063
|
179064
|
179065
|
179066
|
180303
|
180356
|
180357
|
180358
|
180359
|
180360
|
180361
|
180362
|
180363
|
180364
|
180365
|
180366
| 181021 |
181022
|
181023
|
181024
|
181025
|
181026
|
181027
|
181028
|
181029
|
181030
|
181031