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

Nick Clemens (kidclamp) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #189031|0                           |1
        is obsolete|                            |
 Attachment #189032|0                           |1
        is obsolete|                            |

--- Comment #15 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 189649
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189649&action=edit
Bug 41039: Prevent patron search button from being spammed triggering multiple
api requests

Every click of the "Search" button on members/members-home.pl or other area
that utilizes patrons searching,
will trigger another patron search api request. This button should be disabled
until the first searches results are displayed.

To demonstrate, open the network tab of the developer console on your web
browser. Note each click if the button show another patron search api request.

Test Plan:
1) Browse to members-home.pl
2) Open the network tab of the developer console on your web browser
3) Double click the Search button
4) Note the two api requests in the network tab
5) Apply this patch
6) Reload the page
7) Double click the Search button
8) Note only one api request is made

If your results come back too fast, you may perform an initial search,
then change the number of results from the default 20 to "All" to
create a search that will take longer.

Signed-off-by: Kyle M Hall <[email protected]>
Signed-off-by: Caroline Cyr La Rose <[email protected]>
Signed-off-by: David Cook <[email protected]>
Signed-off-by: Nick Clemens <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to