[Koha-bugs] [Bug 9770] New: C4::ClassSortRoutine::Dewey can pad the wrong part of a call number internally

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 8 16:09:19 CET 2013


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

            Bug ID: 9770
           Summary: C4::ClassSortRoutine::Dewey can pad the wrong part of
                    a call number internally
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Cataloging
          Assignee: gmcharlt at gmail.com
          Reporter: jason at esilibrary.com
                CC: m.de.rooy at rijksmuseum.nl

The subroutine get_class_sort_key tokenizes a call number string (splitting on
periods and whitespace) and counts the number of tokens that solely contain
digits.  If there is only one such digit group, a comment in the code states
that it will pad said digit group.  However, the bug is that the code assumes
said digit group is the first token, when this may not be the case.  Patch to
follow...

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


More information about the Koha-bugs mailing list