]> git.koha-community.org Git - koha.git/commit
Bug 18512 - GetAuthorisedValues.GetByCode Template plguin should return code (not...
authorNick Clemens <nick@bywatersolutions.com>
Fri, 28 Apr 2017 18:11:00 +0000 (14:11 -0400)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 5 Jun 2017 13:29:25 +0000 (15:29 +0200)
commit9ce77e80a9dc82c0abaa82ccb35f2331c2d3f965
tree099299a5f4e4ca636d5af27a61cfaa7b9fcc5f27
parentcb82ca95ec579b6ad05b24163673e68039f56520
Bug 18512 - GetAuthorisedValues.GetByCode Template plguin should return code (not empty string) if value not found

To test:
1 - Create or edit a borrower with info in Sort1 and Sort2 field, not
mapped to authorized values
2 - Note this info does not display on moremember.tt
3 - Apply patch
4 - Note value is passed through

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 62c337065590a0eca51db37d286bcb04fa7971ff)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Koha/Template/Plugin/AuthorisedValues.pm