<<

NAME

C4::ClassSortRoutine::Generic - generic call number sorting key routine

SYNOPSIS

use C4::ClassSortRoutine;

my $cn_sort = GetClassSortKey('Generic', $cn_class, $cn_item);

FUNCTIONS

get_class_sort_key

  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.

AUTHOR

Koha Development Team <http://koha-community.org/>

<<