[Koha-bugs] [Bug 24744] New: "Note about the accompanying materials:" - different wording at checkout and checkin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 27 16:45:23 CET 2020


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 at lists.koha-community.org
          Reporter: klas.blomberg at skovde.se
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at 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.


More information about the Koha-bugs mailing list