[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 05:51:54 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30879
--- Comment #6 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #5)
> I've tried reading through the YAZ code which seems to be responsible for
> sorting, but the sort code is from 1998 and very difficult to understand. It
> looks like sorting updates the query... but I don't see anything that
> handles the actual "sorting".
Ah I was looking at the wrong Zebra folder which is why my grepping was failing
:|
According to
https://software.indexdata.com/zebra/doc/features.html#features-sort-rank:
"Sorting on the basis of alpha-numeric and numeric data is supported."
"Sorting on the basis of combined sorts e.g. combinations of
ascending/descending sorts of lexicographical/numeric/date field data is
supported"
"All ordering operations are based on a lexicographical ordering, except when
the structure attribute numeric (109) is used. In this case, ordering is
numerical. See Section 2.4.3, “Structure Attributes (type 4)”."
And that's why you've used that s=109 there...
Their documentation sure is ambiguous...
--
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