[Koha-bugs] [Bug 14907] Item search: Call Numbers in Item search results are ordered alphabetically

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 2 21:21:59 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14907

Heather <heather_hernandez at nps.gov> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |heather_hernandez at nps.gov

--- Comment #4 from Heather <heather_hernandez at nps.gov> ---
We're on 21.05, and the item search is the *only* place where Library of
Congress call numbers are sorting correctly.  I'm a little confused about your
example, too--are the call numbers in your example Library of Congress call
numbers, or call numbers in a different classification system?  Library of
Congress call numbers' initial alpha-numeric sequence are decimals after the
period, so there wouldn't be a call number, "QA76.760" because this is the same
as "QA76.76"--Library of Congress call numbers never end with a zero after the
decimal.  If it were a call number used locally, this sorting is correct:

> Call Numbers in Item search results seem to be sorted ALPHABETICALLY, so
> currently it is displayed:
> QA76.76
> QA76.760
> QA76.77

The filing rule for this, if I remember correctly, is covered in the Library of
Congress Filing Rules, illustrated by this example, where the absence of a
character comes before the presence of a character--that is, "nothing comes
before something:"
A is for anatomy
A4D desert speed run

So this isn't correct, for Library of Congress call numbers:
> where the results should be shown in the following order:
> QA76.76
> QA76.77
> QA76.760

Because "point seven six zero" is less than "point seven seven."  But if these
aren't Library of Congress call numbers, then the sorting would be different? 
The LC Filing Rules say, "Arrange numerals after a decimal point digit by
digit, one place at a time."  So, also, ".760" can't come after ".77," if
you're arranging digit-by-digit, one place at a time.  (This is in section 14
of https://www.loc.gov/catdir/cpso/G100.pdf )

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list