[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
Thu Oct 13 01:41:18 CEST 2022


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

--- Comment #35 from David Cook <dcook at prosentient.com.au> ---
So I've got an update from Indexdata...

It turns out that we could've just patched our Perl code to the following:

 375             elsif ( $sort eq "local-number_asc" ) {
 376                 $sort_by .= "1=12,4=109  <i ";
 377             }
 378             elsif ( $sort eq "local-number_dsc" ) {
 379                 $sort_by .= "1=12,4=109 >i ";
 380             }

I've already tested it using yaz-client and it worked a treat. 

It's an undocumented feature that Adam told me about in the Github issues:
https://github.com/indexdata/idzebra/issues/37

I don't know if we want to undo the XSLT changes or keep them and do the Perl
change as well. It might be worth doing if only to document what the change
would be. It might be useful in other sorting contexts as well...

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


More information about the Koha-bugs mailing list