multi-field MARC expert search can have extra results

Bug #744687 reported by Galen Charlton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Galen Charlton
Nominated for 2.0 by Galen Charlton
Nominated for 2.1 by Galen Charlton
Nominated for Main by Galen Charlton

Bug Description

The 'MARC expert' search defaults to implicit AND if more than one search term is supplied. However, if a record has multiple copies of a given search term, it can incorrectly end up in the search results. For example, suppose there are two records in the database:

650 $a Love $v Juvenile sound recordings

and

650 $a Peace $v Juvenile sound recordings
650 $a War $v Juvenile sound records.

A MARC expert search on 650 $a = Love and 650 $v = Juvenile sound records will return both records, when it should just return the first. Due to a glitch in the underlying query, the fact that the second record has two 650 $v subfields with the desired value causes the record to be included in the search results.

Evergreen 2.0.4+

Galen Charlton (gmc)
Changed in evergreen:
importance: Undecided → Low
milestone: none → 2.0.5
status: New → In Progress
assignee: nobody → Galen Charlton (gmc)
Galen Charlton (gmc)
Changed in evergreen:
status: In Progress → Fix Committed
Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.