Apostrophes Break MARC Expert Search in OPAC and Staff Client

Bug #1980406 reported by Jennifer Pringle
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

Evergreen 3.9 - BOOPAC
Evergreen 3.7 - TPAC
Chrome

When doing a MARC Expert Search in either the OPAC (Bootstrap or TPAC) or the staff catalogue if you include an apostrophe in the Value field the search always returns no results. Searching without the apostrophe will return matching results that have the apostrophe.

Examples:

245 a Handel's Organ concertos - returns no results
245 a Handels Organ concertos - returns results for Handel's Organ concertos

Other punctuation doesn't appear to cause the same issue.

Examples:

245 a Handel-s Organ concertos - returns results for Handel-s Organ concertos
245 a Handel.s Organ concertos - returns results for Handel.s Organ concertos

Revision history for this message
Elaine Hardy (ehardy) wrote :

I also see this in 3.8

245 a Great music's greatest hits returns no hits

245 a Great musics greatest hits does

100 a O'Connor -- no hits
100 a Oconnor --- 813

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Benjamin Kalish (bkalish) wrote :

That's ominous! I don't know the code well enough to know where to look, but this like it might be an issue with the input not being escaped properly, which could be a security concern.

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.