scientist-softserv / britishlibrary

Other
3 stars 0 forks source link

add a space when when glueing default solr params to end of search #535

Closed cziaarm closed 2 months ago

cziaarm commented 2 months ago

Story

Look up of collections never get results

Refs #451

This is due to the catalog controller building a solr query search string that looks like this:

...add_info_tesim collection_tesimtitle_tesim description_tesim all_text_timv

So the title lookup is doomed to fail

Expected Behavior Before Changes

autocomplete lookup a collection when adding a work will not find any results

Expected Behavior After Changes

autocomplete lookup a collection when adding a work will find expected results

Screenshots / Video

Notes

cziaarm commented 2 months ago

These tests have started failing today

rspec ./spec/features/create_image_spec.rb:41

rspec ./spec/features/create_generic_work_spec.rb:42

Not really sure why...