https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43059

--- Comment #2 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
Created attachment 201905
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201905&action=edit
Bug 43059: Add normalized_price convenience method to Koha::Biblio

Adds $biblio->normalized_price which delegates to the metadata
extractor's get_normalized_price method.

Test plan:
1. Apply this patch
2. Run:
   prove t/db_dependent/Koha/Biblio.t
   => SUCCESS: All 45 tests pass
3. Note the new normalized_price() subtest verifying:
   - Returns 0 when no price field present
   - Extracts and normalizes price from 020$c

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to