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

--- Comment #41 from Jason Robb <[email protected]> ---
Created attachment 208756
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208756&action=edit
Bug 23649: (QA follow-up) Warn when a relevance boost matches no records

A boost's Value must match the indexed facet value exactly, punctuation
included. A typo silently saves a boost matching nothing, no feedback.

The controller now counts matching documents via Elasticsearch after
saving. If 0, a non-blocking warning shows above the table; the boost
saves.

Test plan:
1. 'Relevance boosts', 'Bibliographic records' tab.
2. Add homebranch = MPL: saves, no warning.
3. Add homebranch = totally-bogus-value: saves, warning shown.
4. Refresh: rows persisted. Delete both.

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