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

Katrin Fischer <katrin.fisc...@bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #55600|0                           |1
        is obsolete|                            |
  Attachment #55601|0                           |1
        is obsolete|                            |

--- Comment #8 from Katrin Fischer <katrin.fisc...@bsz-bw.de> ---
Created attachment 55649
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=55649&action=edit
[PASSED QA] Bug 17302: Add Koha::Util::Normalize for normalization functions

This patch introduces Koha::Util::Normalize, which includes the following
normalization routines
that need no explanation:

- remove_spaces
- upper_case
- lower_case

and it also includes:

- legacy_default: which basically does what C4::Matcher::_normalize does.

All routines functionality are fully tested with the included in the included
tests.

To test:
- Apply the patch
- Run:
  $ prove t/Koha/Util/Normalize.t
=> SUCCESS: All tests pass
- Sign off :-D

Edit: Added Exporter to explicitly export the routines.

Signed-off-by: Marcel de Rooy <m.de.r...@rijksmuseum.nl>

Signed-off-by: Katrin Fischer  <katrin.fisc...@bsz-bw.de>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to