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>
This commit is contained in:
parent
a807d7199e
commit
62c3370655
|
|
@ -31,7 +31,7 @@ sub GetByCode {
|
|||
? $opac
|
||||
? $av->next->opac_description
|
||||
: $av->next->lib
|
||||
: '';
|
||||
: $code;
|
||||
}
|
||||
|
||||
sub Get {
|
||||
|
|
|
|||
Loading…
Reference in New Issue