[Bug 24744] New: "Note about the accompanying materials:" - different wording at checkout and checkin
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: koha-bugs@lists.koha-community.org Reporter: klas.blomberg@skovde.se QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com 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.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org