https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44191 --- Comment #2 from babar junaid <babarjunaid1122@gmail.com> --- A correction to the steps in the description, from running them on main (6ff8078) with the sample data: Rule: isbn (020$a) score 1000 + title (245$a) score 500, threshold 500. Staged one record with the ISBN of one catalogue record and the title of another ("Miskatronic University Review"), with misc/stage_file.pl --match <rule id>. The title matchpoint finds many records (word search), all scoring 500, and staging keeps 10 candidates. Sorted as text, "500" ranks above "1000", so the one candidate scoring 1000 is not just ranked lower: it is cut from the list altogether. Without the patch (import_record_matches for the batch): 10 candidates, all score 500; the chosen one is biblio 90 (score 500). The ISBN match (score 1000) is not among them. With the patch: biblio 289 score 1000, chosen; then nine candidates with score 500. (The record the ISBN search returned is 289 on this instance's Zebra index, not the record I took the ISBN from; that is a search question, unrelated to this bug. The point is the 1000 candidate being dropped and a 500 candidate chosen.) So the description's "the match shown is B" is too specific: what you see is a 500-score candidate chosen and the 1000-score one missing. -- You are receiving this mail because: You are watching all bug changes.