[Koha] Classification rules, manual incomplete, keep hyphens?

Caroline Cyr-La-Rose caroline.cyr-la-rose at inlibro.com
Fri Nov 26 04:18:16 NZDT 2021


Hi Tasha,

I confess, I'm the one guilty of that section... I unfortunately never 
learned LC in school or in work (I've only worked with Dewey), and I 
tried to read the code for the LC filing routine and didn't understand a 
word. Ideally someone with knowledge of perl (or whatever language it is 
written in) and LC should look at the filing rule code and either write 
the section or tell someone on the docs team how it works so they can 
write it.

As for your 2nd question, I don't think there is a way to create custom 
filing rules in Koha (unless you do it through coding, if you know how 
to code, I think pretty much anything is doable).

Caroline

On 2021-11-23 20 h 26, Bales (US), Tasha R wrote:
> The section of the Koha manual that describes classification filing rules appears to be missing a section.  The portion that describes the respective rules for Dewey, generic, LCC, ends abruptly when it gets to LCC, as follows:
>
> "The LCC filing routine generates a sorted call number by following these rules: " [no rules are given]
>
> See, https://koha-community.org/manual/21.05/en/html/administration.html?highlight=classification#classification-filing-rules
>
> Anyone know what text goes there?  Also, has anyone created custom filing rules?  Although I can create a new classification source, it looks like a new source can only be an amalgamation of the existing filing and splitting rules.  What I really need is something that does not remove hyphens.  I'm having a heck of time getting numbers like this to sort correctly (they just don't):
>
> 1F-15A-1
> 1F-15A-01 (I'd expect this to be first)
> 1F-15A-1CL-1
> 1F-15A-06 (This should go after "-01")
> 1F-15A-6
> 1F-15A-6CF-1
> 1F-15A-17
> 1F-15A-21
> 1F-15A-4-6 (I'd really like to see this before "-6")
>
> The above is how they sort in the OPAC using an ascending "Call number" sort.  Assuming all hyphens are stripped out, I can't make sense of the sort.  However, I did notice that despite all of these items having classification scheme set to "generic", the "Other/Generic Classification Scheme" in Koha Administration, Classification sources, showed that the "In use" value for that scheme was "No".  I changed it to "Yes", but am not sure what to expect after having done so.
>
>
> Tasha Bales
> Enterprise Services
> http://isesi.web.boeing.com/
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
Caroline Cyr La Rose, M.S.I.
Bibliothécaire | Responsable de produit

Tél. : 1-833-465-4276, poste 221
Caroline.Cyr-La-Rose at inLibro.com <mailto:caroline.cyr-la-rose at inLibro.com>

INLiBRO | Spécialistes en technologies documentaires | www.inLibro.com 
<http://www.inLibro.com>


More information about the Koha mailing list