Bug 31874

Summary: Enable sorting in SRU with CQL syntax
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Searching - ZebraAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: dcook
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Katrin Fischer 2022-10-19 15:00:30 UTC
Doing an explain on our SRU, I see that every search option is marked with sort=false. In testing I also cannot make sorting work, following the examples here: http://www.loc.gov/standards/sru/cql/contextSets/sort-context-set.html

Sorting is possible using PQF syntax with the x-pquery parameter, but it would be nice to also support the easier CQL syntax better.