Bug 35862: Fix patron_search_form selection
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 May 2024 12:47:33 +0000 (14:47 +0200)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 14 May 2024 13:34:27 +0000 (15:34 +0200)
commit3af27824b73af78b432b0c177892afa90c4b7f23
tree280a7e2c414f437920bdc086060959eaadcce18a
parent6d8f72efa0570141fd5bbe4b0a86c70dde74f945
Bug 35862: Fix patron_search_form selection

We were no longer getting a match here and so ended up with 2 forms on
the budget page (where we have two modals for patron: owner and users).

Caught be selenium tests patrons_search.t :
Error while executing command: element not interactable: Element <a class="patron_name patron_preview" href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=511"> could not be scrolled into view

It fixes the following UI issues:
When you open a modal, start a search, close the modal
open the other modal search: the results from the other modal were shown

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc