[Koha-bugs] [Bug 33125] New: 2nd sorting level of titles in results lists should be configurable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 3 12:57:17 CET 2023


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

            Bug ID: 33125
           Summary: 2nd sorting level of titles in results lists should be
                    configurable
 Change sponsored?: ---
           Product: Koha
           Version: 22.05
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: anke.bruns at gwdg.de
        QA Contact: testopia at bugs.koha-community.org

The sort order in the OPAC is year (008) and then biblionumber (ASC).

This means that in a result list with more than one title matching the first
sort criterion, the earlier entries usually appear before the more recent ones.

(Exceptions are possible, of course, if a title from an earlier publication
year is catalogued after titles published later).

The criteria for the first sorting level are configurable in the system
preferences OPACdefaultSortField and OPACdefaultSortOrder.

Currently there seems to be no way to configure the 2nd sorting level.

Not sure whether this is a Zebra only issue.

Suggestion:

Add system parameter to configure the second sorting level, similar to those
for the 1st level mentioned above.

Alternatively: sorting by biblionumber on the 2nd level should be descending
instead of ascending so newer (more recently catalogued) titles appear before
older ones.

Steps to Reproduce:
Prerequisites:
- A Koha OPAC (perhaps Zebra is required?)
- First sort criterion must be functional, so if it is the publication year,
the year must be present in positions 7-10 in the 008 field of the records.

To reproduce:
- Search for something with more than one result matching the first sort
criterion, e.g. search for all titles published in a specific year.

Actual Result:
- In the results list the titles from the same year appear in ascending order
of their biblionumbers.

Expected Results:
- Either: the titles appear in descending order of biblionumber

- Or: the second sorting level (criterion and asc/desc order) is configurable
in additional system parameters similar to OPACdefaultSortField and
OPACdefaultSortOrder.

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


More information about the Koha-bugs mailing list