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

            Bug ID: 24744
           Summary: "Note about the accompanying materials:" - different
                    wording at checkout and checkin
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Created attachment 99707
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99707&action=edit
Screendumps

Checkout
https://github.com/Koha-Community/Koha/blob/master/circ/circulation.pl 
Row #420ff 
has this code:
my $materials = $item->materials;
my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field
({ frameworkcode => $biblio->frameworkcode, 
kohafield => 'items.materials', 
authorised_value => $materials });
$materials = $descriptions->{lib} // $materials;

Checkin
https://github.com/Koha-Community/Koha/blob/master/circ/returns.pl
Row #277ff
has this code:
my $materials = $item->materials;
my $descriptions = Koha::AuthorisedValues->get_description_by_koha_field
({frameworkcode => '', 
kohafield =>'items.materials', 
authorised_value => $materials });
$materials = $descriptions->{lib} // $materials;

This makes a difference if you assign an authorized value to 952$3 "Materials
specified" in a bibliographic framework

At checkout it shows the description, e.g. "Bokpåse - åtta böcker"
At checkin it shows the authorized value, in this case "8"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://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