]> git.koha-community.org Git - koha.git/commit
Bug 18423 - Add child button not always appearing - problem in template variable
authorNick Clemens <nick@bywatersolutions.com>
Wed, 12 Apr 2017 14:23:56 +0000 (10:23 -0400)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 10 May 2017 09:40:16 +0000 (11:40 +0200)
commitc682b54287b17b9349feef69a0634beffe7abe13
tree283204b7ea8c304a7f97dbed7ae102a747cdaebb
parent085e853827b18fbffb6fc09ae9447fad727d9d78
Bug 18423 - Add child button not always appearing - problem in template variable

This patch removes the retrieval of the syspref borrowerRelationship
from the scripts and moves it to a check using the Template Toolkit
plugin

To test:
1 - Apply patch
2 - Ensure 'Add child' button displays appropriately on all member pages.

Tested 3 pateches together, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Mason James <mtj@kohaaloha.com>
(cherry picked from commit 46fd998c85ea36291f5af6169f8860d36fb57a94)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
13 files changed:
circ/circulation.pl
koha-tmpl/intranet-tmpl/prog/en/includes/members-toolbar.inc
members/boraccount.pl
members/deletemem.pl
members/mancredit.pl
members/maninvoice.pl
members/member-flags.pl
members/member-password.pl
members/moremember.pl
members/notices.pl
members/pay.pl
members/paycollect.pl
members/readingrec.pl