]> 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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Apr 2017 11:42:57 +0000 (07:42 -0400)
commite28f19f0a88e334c99a45fadf96ae504bbb17ebe
tree70dc46f43f420392b924ed73a047fc0a77c4c2e3
parent46d0be3114785c17e48df8bc31b515599d394789
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: Kyle M Hall <kyle@bywatersolutions.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