[Koha-bugs] [Bug 12670] Show materials label instead of code

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Oct 26 11:22:57 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12670

Frédéric Demians <frederic at tamil.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frederic at tamil.fr

--- Comment #9 from Frédéric Demians <frederic at tamil.fr> ---
(In reply to Katrin Fischer from comment #8)

> - The check-in and check-out messages still show the code and not the
> description.

Do you mean that a follow-up patch is required? I agree that if this patch is
necessary on catalogue/details.pl page, other pages displaying items.materials
should be updated.

> - The code is not specific enough. It doesn't check if the subfield is mapped
> to an authorized value. The translation to a description will also happen, if
> you haven't mapped your framework to an authorized value at all.

I don't understand. How can the translation to a description happen without AV?

> - It doesn't look for a specific authorized value category, so if you have
> the same codes in multiple categories, the display is kinda random.

I think you're wrong. The call to GetAuthValCode() returns the name of the AV
list linked to items.materials. And then, the available values for this
specific AV are retrieved by calling GetAuthorisedValues.

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


More information about the Koha-bugs mailing list