C4::ClassSortRoutine::Generic - generic call number sorting key routine
use C4::ClassSortRoutine qw( GetClassSortKey );
my $cn_sort = GetClassSortKey('Generic', $cn_class, $cn_item);
my $cn_sort = C4::ClassSortRoutine::Generic::Generic($cn_class, $cn_item);
Generates sorting key using the following rules:
* Concatenates class and item part. * Removes leading and trailing whitespace. * Converts each run of whitespace to an underscore. * Converts to upper-case and removes non-alphabetical, non-numeric, non-underscore characters.
Koha Development Team <http://koha-community.org/>