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)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 8 May 2017 12:38:11 +0000 (08:38 -0400)
commit62c337065590a0eca51db37d286bcb04fa7971ff
treea2c91cff87b1eb2c1d4af1d251492089cce960ba
parenta807d7199ea025aa507e0ca7e3ff2330902844f8
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>
Koha/Template/Plugin/AuthorisedValues.pm