Bugzilla – Attachment 62859 Details for
Bug 18512
GetAuthorisedValues.GetByCode Template plugin should return code (not empty string) if value not found
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18512 - GetAuthorisedValues.GetByCode Template plguin should return code (not empty string) if value not found
Bug-18512---GetAuthorisedValuesGetByCode-Template-.patch (text/plain), 1023 bytes, created by
Nick Clemens (kidclamp)
on 2017-04-28 18:12:08 UTC
(
hide
)
Description:
Bug 18512 - GetAuthorisedValues.GetByCode Template plguin should return code (not empty string) if value not found
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-04-28 18:12:08 UTC
Size:
1023 bytes
patch
obsolete
>From 36c888906166c00f4336ece53f8bd4e6515be912 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 28 Apr 2017 14:11:00 -0400 >Subject: [PATCH] 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 >--- > Koha/Template/Plugin/AuthorisedValues.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Template/Plugin/AuthorisedValues.pm b/Koha/Template/Plugin/AuthorisedValues.pm >index 149827b..7e0ef5d 100644 >--- a/Koha/Template/Plugin/AuthorisedValues.pm >+++ b/Koha/Template/Plugin/AuthorisedValues.pm >@@ -31,7 +31,7 @@ sub GetByCode { > ? $opac > ? $av->next->opac_description > : $av->next->lib >- : ''; >+ : $code; > } > > sub Get { >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18512
:
62859
|
62893
|
62988
|
62989
|
63714