[Koha-bugs] [Bug 34092] patron-autocomplete.js and patron-search.inc search logic should match

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 29 11:02:53 CEST 2023


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

--- Comment #12 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
(In reply to Paul Derscheid from comment #11)
> Hi Pedro,
> 
> what is the reasoning behind opening a new window for patron-search?
> Wouldn't a modal be more ergonomic?

Definitely would!
The opening of a new window is, I believe, old Koha behavior that we aim to
move away from going forward (I think?). I provided the examples above to make
a point for these 2 different ways of searching for patrons, with 2 distinct
search query building logic in the code, trying to do the same thing.

The point of this bug though is to move the patron search query building logic
in a single place in the code, so that we maintain (and fix) in just 1 place.

This will also make it more consistent in the way that staff members searching
for patrons will - ideally - have the same results every time they input the
same query, regardless of where the search is performed.

Additionally, this new consolidated patron search query logic is also able to
be used by other queries that also search for, but are not limited to, patrons.
See bug 34058.

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


More information about the Koha-bugs mailing list