[Koha-bugs] [Bug 32260] Prevent alert when searching patron (autocomplete)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 18 10:06:34 CET 2022


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 144048
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144048&action=edit
Bug 32260: Patron autocomplete - Do not display an alert if request is rejected

Not sure what is going on exactly, neither if this patch is the correct
way to fix this.
The request is "rejected" at some point (by the browser?), when we
search for patrons using the autocomplete and DT "at the same time".

To recreate:
Don't apply this patch
Go to /cgi-bin/koha/reserve/request.pl?biblionumber=1&borrowernumber=5
Search for "edn" then hit enter
You may see an alert, that will disappear
If you don't see the alert, repeat

This patch suggests to ignore the alert if the status of the request is
"rejected".

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


More information about the Koha-bugs mailing list