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

--- Comment #39 from Jason Robb <[email protected]> ---
Created attachment 208754
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208754&action=edit
Bug 23649: (QA follow-up) AJAX-ify relevance boost add/delete

Add/Delete were plain form submits: a full page reload, resetting
scroll and active tab, and able to wipe unsaved Value/Weight input
if the nearby Save button was clicked by mistake.

Both now POST via fetch() with an ajax=1 flag; the controller returns
JSON and exits before page-render, updating the table in place.

Test plan:
1. 'Bibliographic records' > 'Relevance boosts'. Add/delete a boost:
   no reload, no scroll jump.
2. Add with empty Value, non-positive weight, or a repeat field+
   value: errors / in-place update, no reload, no duplicate.
3. Type into Value/Weight without clicking Add, then click Save:
   nothing saved to the boosts table.
4. No 'Relevance boosts' section on the Authorities tab.

Signed-off-by: Jason Robb <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to