Bug 24744 - "Note about the accompanying materials:" - different wording at checkout and checkin
Summary: "Note about the accompanying materials:" - different wording at checkout and ...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Circulation (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-27 15:45 UTC by Klas Blomberg
Modified: 2020-02-27 15:45 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
Screendumps (7.43 KB, image/png)
2020-02-27 15:45 UTC, Klas Blomberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klas Blomberg 2020-02-27 15:45:23 UTC
Created attachment 99707 [details]
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"