Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@samouss
Copy link
Contributor

@samouss samouss commented Oct 12, 2018

Keep both option related to query in sync between CurrentRefinements and ClearRefinements.

  • CurrentRefinement: includesQueryclearsQuery
  • ClearRefinements: clearsQuery

Keep both option related to `query` in sync between `CurrentRefinements` and `ClearRefinements`.

- `CurrentRefinement`: `includesQuery` → `clearsQuery`
- `ClearRefinements`: `clearsQuery`
@algobot
Copy link

algobot commented Oct 12, 2018

Deploy preview for instantsearch-css ready!

Built with commit 90b955a

https://deploy-preview-88--instantsearch-css.netlify.com

- name: excludedAttributes
description: The list of attributes to filter out included attributes
- name: includesQuery
- name: clearsQuery
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can have a proper API if we do excudedAttributes=['query'], remove includeQuery and clearsQuery

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep I agree - but do we want to have the query by default? Not sure, let's discuss about that.

@samouss
Copy link
Contributor Author

samouss commented Oct 29, 2018

Not relevant anymore. We dropped the support of clearsQuery for excludedAttributes: ['query'].

@samouss samouss closed this Oct 29, 2018
@samouss samouss deleted the fix/current-refinement-clears-query branch October 29, 2018 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants