18F / open-data-maker

make it easy to turn a lot of potentially large csv files into easily accessible open data
Other
200 stars 135 forks source link

As a user I want to search for school names which contain two letter words #233

Open hollyallen opened 8 years ago

hollyallen commented 8 years ago

( The companion ticket for this is: https://github.com/18F/college-choice/issues/1370 )

As a user I want to search for school names, like St Louis, which contain two letter words. Currently only searches for names with three letter words yield results.

Steps to reproduce:

  1. On College Scorecard homepage, enter "St" in the Name search box

Expected Result:

Current Result:

ultrasaurus commented 8 years ago

This is the line that needs to change: https://github.com/18F/open-data-maker/blob/dev/lib/data_magic.rb#L170

needs some test cases and some thought that we don't introduce unhappy side effects