With 22.11 when adding a new bib record via z39.50 import there is no longer any indication that a search has been submitted. Previously, the cursor icon would change to the busy status, but now there is no change so there is no way to know if the search has been submitted or not. This leads to staff submitting the same search repeatedly.
On what version of Koha did this previously work for you? I would love to implement something like I proposed in Bug 30437 here.
I was wondering too - maybe only on the advanced editor?
The basic editor, in 22.05. This is a regression from bug 32072, because https://git.koha-community.org/Koha-community/Koha/src/commit/9c039d4716a099365a45ab8d40d6b1362229f72b/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js#L30 sets cursor: wait on click of a thing with the class "submit" but the submit button for a Z39.50 search no longer has that class.
Created attachment 150964 [details] [review] Bug 33655: z39.50 search no longer shows search in progress This patch adds an id to z39.50 search interface submit buttons so that the JavaScript event for changing the cursor can be linked to that instead of the obsolete class. The patch also adds code copied from Bug 33233 in order to make the "waiting" cursor revert to the default if the user uses the back button to return to the search form. To test, apply the patch and go to Cataloging -> New from Z39.50 - Fill in a search term and click the submit button - Your cursor should change to a "waiting" cursor while the search is performed, before you're redirected to the results. - From the results page, clicking the back button (or right-clicking the page and choosing "Back") should return you to the search form and your cursor should be a standard pointer. Perform the same test from: - Acquisitions -> Vendor -> Basket -> Add to basket -> From an external source - Authorities -> New from Z39.50/SRU
Created attachment 151040 [details] [review] Bug 33655: z39.50 search no longer shows search in progress This patch adds an id to z39.50 search interface submit buttons so that the JavaScript event for changing the cursor can be linked to that instead of the obsolete class. The patch also adds code copied from Bug 33233 in order to make the "waiting" cursor revert to the default if the user uses the back button to return to the search form. To test, apply the patch and go to Cataloging -> New from Z39.50 - Fill in a search term and click the submit button - Your cursor should change to a "waiting" cursor while the search is performed, before you're redirected to the results. - From the results page, clicking the back button (or right-clicking the page and choosing "Back") should return you to the search form and your cursor should be a standard pointer. Perform the same test from: - Acquisitions -> Vendor -> Basket -> Add to basket -> From an external source - Authorities -> New from Z39.50/SRU Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org>
Created attachment 151045 [details] [review] Bug 33655: z39.50 search no longer shows search in progress This patch adds an id to z39.50 search interface submit buttons so that the JavaScript event for changing the cursor can be linked to that instead of the obsolete class. The patch also adds code copied from Bug 33233 in order to make the "waiting" cursor revert to the default if the user uses the back button to return to the search form. To test, apply the patch and go to Cataloging -> New from Z39.50 - Fill in a search term and click the submit button - Your cursor should change to a "waiting" cursor while the search is performed, before you're redirected to the results. - From the results page, clicking the back button (or right-clicking the page and choosing "Back") should return you to the search form and your cursor should be a standard pointer. Perform the same test from: - Acquisitions -> Vendor -> Basket -> Add to basket -> From an external source - Authorities -> New from Z39.50/SRU Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Pushed to master for 23.05. Nice work everyone, thanks!
Nice work everyone! Pushed to stable for 22.11.x
Missing dependecies for 22.05.x, no backport