Bugzilla – Attachment #62859: Bug 18512 - GetAuthorisedValues.GetByCode Template plguin should return code (not empty string) if value not found for
bug #18512
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
View
|
Details
|
Raw Unified
| Return to
bug 18512
Collapse All
|
Expand All
(-)
a/Koha/Template/Plugin/AuthorisedValues.pm (-2 / +1 lines)
Lines 31-37 sub GetByCode {
Link Here
31
? $opac
31
? $opac
32
? $av->next->opac_description
32
? $av->next->opac_description
33
: $av->next->lib
33
: $av->next->lib
34
: '';
34
: $code;
35
}
35
}
36
36
37
sub Get {
37
sub Get {
38
-
Return to
bug 18512