projects
/
koha_gimpoz
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 5549 : GetPendingIssues now returns DateTime objects
[koha_gimpoz]
/
C4
/
ClassSortRoutine
/
Dewey.pm
diff --git
a/C4/ClassSortRoutine/Dewey.pm
b/C4/ClassSortRoutine/Dewey.pm
index
b4ba921
..
62a68b9
100644
(file)
--- a/
C4/ClassSortRoutine/Dewey.pm
+++ b/
C4/ClassSortRoutine/Dewey.pm
@@
-76,6
+76,10
@@
sub get_class_sort_key {
}
}
}
+ # Pad the first digit_group if there was only one
+ if (1 == $digit_group_count) {
+ $tokens[0] .= '_000000000000000'
+ }
my $key = join("_", @tokens);
$key =~ s/[^\p{IsAlnum}_]//g;