[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:47:17 CET 2019


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

--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Katrin Fischer from comment #10)
> (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. 

It should output the value, yes.

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

Not supporting, but keeping it in mind for new additions.

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


More information about the Koha-bugs mailing list