[Koha-bugs] [Bug 19719] Add a new column for collection in the patron checkouts data table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 8 12:39:43 CEST 2018


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

--- Comment #18 from Julian Maurice <julian.maurice at biblibre.com> ---
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.


More information about the Koha-bugs mailing list