[Koha-bugs] [Bug 8775] Add collection code to lost report

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 6 17:41:31 CET 2019


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

--- Comment #10 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Jonathan Druart from comment #9)
> We should use the more flexible way to retrieve an AV's value:
> 
> AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.ccode',
> authorised_value => item.ccode )
> 
> That way, if items.ccode is not bind to an AV, or bind to a different one
> than CCODE, it will display the correct value. I know it's not how we did in
> all of the places they are displayed, but it should be the correct way to do
> :)

What happens if it's not mapped? I know the normal plugin outputs the content
of the field. 

If you mapped another category, you are breaking a lot of things. I am not sure
if we should start officially supporting this.

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


More information about the Koha-bugs mailing list