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

Lisette Scheer <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |Failed QA

--- Comment #66 from Lisette Scheer <[email protected]> ---
The check $weight <= 0 || $weight > 999.99 accepts 0.001, but decimal(5,2)
stores it as 0.00. _get_value_boost_functions then emits weight: 0. ES accepts
that, and because the scores are multiplied, every record with that value
scores 0.

Would probably be better if it warned or only let you put in to 0.01 as the
lowest non 0 score.


Koha::SearchFieldValueBoost(s) need to add logging/diff to logging per coding
guidelines.

If the boost Value (not weight) has a " in it in a free text field, it looks
like it doesn't save but gives no warning, and then if you leave and come back
it is in the table of boosts.

-- 
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