Skip to content
This repository has been archived by the owner on Jan 5, 2019. It is now read-only.

store Blacklight results in app state #108

Merged
merged 4 commits into from
Jan 13, 2017
Merged

Conversation

rococodogs
Copy link
Member

This begins the work towards revamping the way we handle search results by moving them up a level into the app state. The SearchResults page still uses its own internal state to display the results, but that may be refactored out down the road to rely solely on props passed via Redux.

This also includes a few refactor/cleanups:

  • Uses the SearchBreadcrumbTrail component within the SearchResults page
  • Removes default options from actions/search.js, instead relying on Blacklight to provide reasonable defaults

As well as a bugfix:

  • page/SearchResults.jsx is now updated when users navigate using the browser's back/forward buttons.

Fixes #85

This allows users to navigate through previous searches using the
back/forward button in their browser and will update the search
accordingly.

Fixes #85
This allows us to use Blacklight's defaults without explicitly stating them.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

navigating back (browser) on search results doesn't update facets
2 participants