TheStanfordDaily / archives-web

Helper functions and web app for METS/ALTO archive viewing.
https://archives.stanforddaily.com
6 stars 2 forks source link

Leaving "article text" empty in search gives a title "Search results for undefined" #78

Closed epicfaace closed 4 years ago

epicfaace commented 4 years ago

When I search with another text box that isn't "article text", the title of the page says "Search results for undefined".

See, for example, http://localhost:3000/search?article_type_advertisement=true&article_type_article=true&page=1&pagelen=20&title=test&year_end=2014&year_start=1892

Instead, we should have whatever text the user typed in, in the other textbox.

ufxela commented 4 years ago

fixed in #83