From fe8a617efd36826c405882adf96c9081aad5b137 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 22 May 2018 17:46:36 +0000 Subject: [PATCH] Bug 20803: Cannot search to hold or use print options from API keys interface This patch adds a required JS asset to the patron API key interface. Without it, JS-based functions in the toolbar do not work. To test you must have RESTOAuth2ClientCredentials enabled. - From a patron detail page, choose More -> Manage API keys. - Test the toolbar buttons on this page, especially "Search to hold" and the various print options. Signed-off-by: Jonathan Druart --- .../prog/en/modules/members/apikeys.tt | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt index 73ea916080..418c7d1dd7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt @@ -1,4 +1,5 @@ [% USE Koha %] +[% USE Asset %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › API Keys @@ -99,13 +100,14 @@ [% MACRO jsinclude BLOCK %] - + }); + [% END %] [% INCLUDE 'intranet-bottom.inc' %] -- 2.39.5