[Koha] sorting long Cutter's

Bruce A Metcalf bruce.metcalf at augustansociety.net
Sat Jun 21 09:35:08 NZST 2014


Giuseppe Angilella <giuseppe.angilella at ct.infn.it> wrote:

> call numbers having Cutter parts made of several substrings currently
> are not sorted correctly. Here are examples:
>
> | itemcallnumber     | cn_source | cn_sort                        |
> | 530 F435 1996 v1   | ddc       | 530_F435_199600000000000_V1    |
> | 530 F435 1996 v2p1 | ddc       | 530_F435_199600000000000_V2P1  |
> | 530 F435 1996 v2p2 | ddc       | 530_F435_199600000000000_V2P2  |
>
> Despite being in the Dewey 530 class, these items are sorted after any
> 530.xy item (and before any 531, which is OK).
>
> Any hint?

I've been experimenting ways to address this, and may have an option  
worth testing:

In "Home › Administration › Classification sources" you can specify  
the "Filing Rule" to apply to each Classification Source. A second  
table allows you to specify the "Sorting routine" for each Filing Rule.

I found that by changing the Sorting routine from "generic" to "LCC",  
I got my system to sort properly. You might find this worth testing.

Bruce A. Metcalf
Library Director
The Augustan Society, Inc.


More information about the Koha mailing list