Bugzilla – Attachment 80558 Details for
Bug 21503
Update AuthorisedValues.pm to fall back to code if description doesn't exist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21503: Fix AV to fail to other values
Bug-21503-Fix-AV-to-fail-to-other-values.patch (text/plain), 914 bytes, created by
Christopher Brannon
on 2018-10-12 19:01:34 UTC
(
hide
)
Description:
Bug 21503: Fix AV to fail to other values
Filename:
MIME Type:
Creator:
Christopher Brannon
Created:
2018-10-12 19:01:34 UTC
Size:
914 bytes
patch
obsolete
>From d1baa641a4562195c6a53af34cdb6d6f9f15be19 Mon Sep 17 00:00:00 2001 >From: Christopher Brannon <cbrannon@cdalibrary.org> >Date: Fri, 12 Oct 2018 18:45:29 +0000 >Subject: [PATCH] Bug 21503: Fix AV to fail to other values > >--- > Koha/Template/Plugin/AuthorisedValues.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/Koha/Template/Plugin/AuthorisedValues.pm b/Koha/Template/Plugin/AuthorisedValues.pm >index 2692c15a06..e704d5f2dd 100644 >--- a/Koha/Template/Plugin/AuthorisedValues.pm >+++ b/Koha/Template/Plugin/AuthorisedValues.pm >@@ -86,8 +86,9 @@ sub GetDescriptionByKohaField { > ? $params->{opac} > ? $av->{opac_description} > : $av->{lib} >- : ''; # Maybe we should return $params->{authorised_value}? >- >+ : $params->{authorised_value} >+ ? $params->{authorised_value} >+ : '' > } > > 1; >-- >2.11.0
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 21503
:
80151
|
80152
|
80233
|
80439
|
80521
|
80544
|
80545
|
80558
|
80561
|
80562
|
80563
|
80601
|
80758
|
80759
|
80762
|
101323
|
101324
|
101325
|
101326
|
101327
|
101328
|
101524
|
101525
|
101526
|
101527
|
101528
|
101529
|
101533
|
101534
|
101535