Bug 38619: UNIMARC prices should also be extracted from 071d
When adding a document that does not use 010d as price document, but 071d, the price is not imported from koha since it only checks 010d and 345d. To reproduce: 1 - Create a Koha item, make sure there is neither 010d or 345d 2 - Add a 071d and fill a price 3 - Export the item as marcxml 4 - If you do not have one: in acquisition, create a vendor, a basket associated to this vendor, and a line associated to this vendor 5 - Add a line to any open basket, select: import "from a new file" and select the exported marcxml -> The price in 071 is not imported 6 - Apply patch 7 - Repeat 5 -> the price is properly imported Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7ae5ca4c05
commit
1cb2f97e8c
|
|
@ -1351,7 +1351,7 @@ sub GetMarcPrice {
|
|||
@listtags = ( '345', '020' );
|
||||
$subfield = "c";
|
||||
} elsif ( $marcflavour eq "UNIMARC" ) {
|
||||
@listtags = ( '345', '010' );
|
||||
@listtags = ( '345', '010', '071' );
|
||||
$subfield = "d";
|
||||
} else {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue