ResistanceCalendar / resistance-calendar-frontend

A central listing of upcoming progressive events
https://resistance-calendar-staging.herokuapp.com/
MIT License
7 stars 8 forks source link

Fix "apostrophe" search bug #188

Open InciteDemocracy opened 7 years ago

InciteDemocracy commented 7 years ago

When users search for strings that include an apostrophe for example "women's" or "portland's" the search returns a very large number of events. One hypothesis is that the apostrophe is being treated as a space, and so we are getting every event that includes an "s" in its title or description.

dorono commented 7 years ago

I started working on a front end fix (https://github.com/ResistanceCalendar/resistance-calendar-frontend/pull/189), but realized that there was a back end/API fix that needed to happen in order to make this work.