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

--- Comment #15 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 211552
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211552&action=edit
Bug 37061: Add modifiers to interpolate_values

A value built with interpolate_values can now be followed by modifiers, applied
in order, for example {245a|nonfiling|trim|ucfirst}:
- trim removes the trailing spaces and ISBD punctuation
- nonfiling removes the non-filing characters, as many as the indicator of the
  field says (first indicator of a 130, 630, 730 and 740, second one otherwise)
- ucfirst changes the first letter to upper case

An unknown modifier is ignored.

To test:
1. prove t/SimpleMARC.t

-- 
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