Bug 21344

Summary: C4::Biblio::MungeMarcPrice doesn't appear to be used anywhere
Product: Koha Reporter: Martin Renvoize <martin.renvoize>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: katrin.fischer
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Martin Renvoize 2018-09-14 11:14:32 UTC
Whilst QAing bug 12310 I came accross the MungeMarcPrice routine inside C4::Biblio. This method does not appear to be called from anywhere in the current codebase and as such can likely be removed.
Comment 1 Katrin Fischer 2018-10-28 18:19:03 UTC
C4/Biblio.pm:        MungeMarcPrice
C4/Biblio.pm:            $subfield_value = MungeMarcPrice( $subfield_value );
C4/Biblio.pm:=head2 MungeMarcPrice
C4/Biblio.pm:sub MungeMarcPrice {
t/db_dependent/MungeMarcPrice.t:        MungeMarcPrice($price->{'string'}),
t/db_dependent/MungeMarcPrice.t:        MungeMarcPrice($price->{'string'}),

It's used in sub GetMarcPrice.

IIRC correctly, didn't follow the code trail, this is used trying to get a price from the MARC record when ordering from staged files.