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

--- Comment #18 from Julian Maurice <[email protected]> ---
Comment on attachment 74539
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74539
Bug 19719: (follow-up) Show description instead of code

Review of attachment 74539:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=19719&attachment=74539)
-----------------------------------------------------------------

::: svc/checkouts
@@ +158,5 @@
>      }
> +    my $collection;
> +    if ( $c->{collection} ) {
> +        my $av = Koha::AuthorisedValues->search({ category => 'CCODE', 
> authorised_value => $c->{collection} });
> +        $collection = $av->count ? $av->next->lib : '';

Shouldn't we check that items.ccode is linked to the authorized value list
CCODE ?
We could imagine that in the MARC framework, the item subfield linked to
items.ccode is configured to use another AV list (or no AV list at all).

If the item subfield is not linked to an AV list and contains free text, it is
not displayed. I think that's a problem.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to