[Koha-bugs] [Bug 9886] New: ParseLetter removes so-called punctuation characters from fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 21 13:53:08 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9886

            Bug ID: 9886
           Summary: ParseLetter removes so-called punctuation characters
                    from fields
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: m.de.rooy at rijksmuseum.nl

This line in C4::Letters, sub parseletter:
    $val =~ s/\p{P}(?=$)//g if $val;
makes a callnumber like 535 G 48 (18) appear as 535 G 48 (18 on notices.

The right parenthesis at the end is being recogized as general punctuation.

Does anyone know why we should remove "punctuation" from fields such as the
above? I would like to remove this line. Is there a valid reason not to do so?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list