From af99c5696712ac398fd6d0260357b76f9605a087 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 20 Nov 2019 20:04:10 +0000 Subject: [PATCH] Bug 21296: suspend hold ignores system preference on intranet This patch modifies the DataTable configuration for the table of holds which displays under the "Holds" tab on the patron's checkout and details pages. A variable is now defined in the JavaScript with the value of the "SuspendHoldsIntranet" system preference. This variable is passed to the DataTable configuration to determine whether the column is visible or not. One of the changes made in this patch moves a + [% Asset.js("js/pages/circulation.js") | $raw %] + [% Asset.js("js/checkouts.js") | $raw %] + [% Asset.js("js/holds.js") | $raw %] + [% Asset.js("js/circ-patron-search-results.js") | $raw %] + + [% Asset.js("js/pages/circulation.js") | $raw %] + [% Asset.js("js/checkouts.js") | $raw %] + [% Asset.js("js/holds.js") | $raw %] + [% INCLUDE 'str/members-menu.inc' %] + [% Asset.js("js/members-menu.js") | $raw %] + [% Asset.js("js/messaging-preference-form.js") | $raw %] +