[Koha-bugs] [Bug 30089] Placing holds on OPAC broken

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 14 23:52:09 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30089

--- Comment #8 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Fridolin Somers from comment #6)
> > 
> > I believe this line is not right - if OPAC description hasn't been set, the
> > normal description should be used.
> Correct.
> 
> But this would change the current behavior no ?
> 
> Also isn't it a way to hide a value from OPAC an see it only on staff
> interface ?
> 
> TT plugin does the fallback in GetDescriptionByKohaField :
> https://git.koha-community.org/Koha-community/Koha/src/commit/
> 65cc721e9f90fea4d0eb3d2b85831b60f3046ce6/Koha/Template/Plugin/
> AuthorisedValues.pm#L76
> 
> But not in GetByCode :
> https://git.koha-community.org/Koha-community/Koha/src/commit/
> 65cc721e9f90fea4d0eb3d2b85831b60f3046ce6/Koha/Template/Plugin/
> AuthorisedValues.pm#L27

OK forget it
https://git.koha-community.org/Koha-community/Koha/src/branch/master/Koha/AuthorisedValue.pm#L43
'opac_description' is a method it contains the fallback, db field is 'lib_opac'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list