From 338000df457f193b9eee7f086b9f2868e4ade853 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 19 Apr 2017 12:29:26 -0300 Subject: [PATCH] Bug 18453: Hide the export column when needed If exports_enabled is equal to "0" it will be evaluated to true. --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 8d1454a..932d1b7 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -416,7 +416,7 @@ $(document).ready(function() { } }, { - "bVisible": exports_enabled ? true : false, + "bVisible": exports_enabled == 1 ? true : false, "bSortable": false, "mDataProp": function ( oObj ) { var s = ""; -- 2.9.3