From 111df96b03789480e09a2b94317332f0f93a6d99 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If exports_enabled is equal to "0" it will be evaluated to true. Signed-off-by: Marc VĂ©ron --- 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.1.4