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@gmail.com Reporter: jason@esilibrary.com CC: m.de.rooy@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.