baltimorecounty / BCPL-assets

Client side assets for the Baltimore County Public Library website
4 stars 0 forks source link

"Search the catalog" button passes an "undefined" search #656

Open danfox01 opened 5 years ago

danfox01 commented 5 years ago

Describe the bug The "search the catalog" button on the SE search results page results in an "undefined" catalog search.

To Reproduce Steps to reproduce the behavior:

  1. Go to bcpl.info.
  2. Click "Search" then "Website"
  3. Enter and search term and hit enter.
  4. On the search result page, click the "Search the catalog" button
  5. Note that the Polaris search is using the keyword "undefined"

Expected behavior When a user performs a website search then clicks search the catalog, their web search term should be passed automatically to Polaris.

Affected device and browser: All

Additional context This bug has appeared before and was previously squashed, so this is a regression of some type. Couldn't find the original issue. If I find it, I'll add here.

danfox01 commented 5 years ago

@jdomasky just noticed this only occurs in prod and not dev. We can wait until #606 is pushed out to determine if the issue still exists.