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

--- Comment #4 from Laura Escamilla <[email protected]> ---
I've updated Bug 40898 to address the failed QA feedback.

`PatronSearchMaxSortColumns` now defaults to blank (unlimited), so existing
patron searches that sort by 12 fields will continue working without any
changes to their current behavior.

The API only enforces the sorting limit when the preference contains a positive
integer. I've also added tests for the blank/unlimited behavior, and all 19
sorting-limit assertions pass.

I initially considered updating the staff patron search to use the first N
sorting fields based on the preference, but I think your original suggestion of
handling that separately makes sense. It would allow us to optimize the
existing 12-column sorting behavior without expanding the scope of this bug.

One caveat is that explicitly configuring a limit below 12 would still cause
the current staff patron search to return a 400 error until that separate
change is implemented.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to