[Koha-bugs] [Bug 30093] Rewrite the patron search when placing a hold with the REST API route

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 17:22:13 CEST 2022


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #132541|0                           |1
        is obsolete|                            |
 Attachment #132542|0                           |1
        is obsolete|                            |

--- Comment #22 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 132647
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132647&action=edit
Bug 30093: Make patron search from request.pl use the REST API

In this patch we want to reuse what has been done in the previous bug
report to search patrons using the REST API route.
The code is mainly in members/search.tt, for all the patron searches
that "add" or "select" a patron (popup windows).
The patron search for holds is a bit different, we don't want to open a
popup window.
We are moving to code to an include file (patron-search.tt) to make it
reusable easily.

Note that we are improving how the patron's addresses are displayed, and
provide a JS equivalent to the TT includes files.

Test plan:
Search for patrons from the "Place a hold on" view.
You should see the same view as behaviour, with more filters.

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


More information about the Koha-bugs mailing list