]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 21 Apr 2017 22:34:26 +0000 (00:34 +0200)
commit7700f30f19ccff98448b8ea4a45a41f43fbd2180
tree979bc98157fd30aed0ff7ee8ba7c4115cefbd6bd
parent6ff2ff088f8d6bf16ceb1bff966a322ae782ba67
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>
(cherry picked from commit e28f19f0a88e334c99a45fadf96ae504bbb17ebe)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
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