[Koha-bugs] [Bug 30879] Add option to sort components by biblionumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 20 02:45:08 CEST 2022


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

--- Comment #3 from David Cook <dcook at prosentient.com.au> ---
(In reply to Nick Clemens from comment #2)
> Created attachment 136255 [details] [review]
> Bug 30879: Add option to sort components by biblionumber
> 
> WIP
> 
> This works for ES, but zebra sorts the biblionumber as a string, s=109 was
> my attempt based on
> https://software.indexdata.com/yaz/doc/tools.html#ccl.syntax
> which I don't fully understand

Sorry but I think you gotten it a bit backwards 😅.

First, it looks like you've updated the UNIMARC files for
biblio-koha-indexdefs.xml and biblio-zebra-indexdefs.xsl instead of the MARC21
files.

Second, you don't need that change to ccl.properties. 

--

And now that I'm looking more closely... it looks like we do already index
999$c into the following indexes/registers for MARC 21: Local-Number:n
Local-Number:w Local-Number:s

So I think you might be going down the wrong path...

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


More information about the Koha-bugs mailing list