Bug 20809: (follow-up) Add missing JS to view log page
authorOwen Leonard <oleonard@myacpl.org>
Fri, 14 Sep 2018 17:06:31 +0000 (17:06 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 4 Feb 2019 15:54:34 +0000 (15:54 +0000)
If the log viewer is being used to track patron-related data the
patron-related JavaScript file should be included.

To test, apply the patch and open a patron record. In the left-hand
sidebar choose Modification Log. Test the patron image edit/replace
process from the patron image in the sidebar and confirm that it works
correctly.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt

index 7513169..db17762 100644 (file)
 [% MACRO jsinclude BLOCK %]
     [% INCLUDE 'calendar.inc' %]
     [% Asset.js("js/tools-menu.js") | $raw %]
+    [% IF ( circulation ) %]
+        [% INCLUDE 'str/members-menu.inc' %]
+        [% Asset.js("js/members-menu.js") | $raw %]
+    [% END %]
 [% END %]
 
 [% INCLUDE 'intranet-bottom.inc' %]