Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search: Search term doesn't clear when switching to Blog Posts screen #1403

Closed
chad1008 opened this issue Dec 9, 2015 · 5 comments
Closed

Comments

@chad1008
Copy link
Contributor

chad1008 commented Dec 9, 2015

Entering a search term and then switching to /posts triggers a search on that screen as well. If there isn't a matching post, the "No posts match your search for ..." message appears

To reproduce:

  1. Visit either /pages or /design and enter a search term
  2. Without clearing the term, click on Blog Posts from the menu

The search term remains entered, and depending on the results, either matching posts or the "No posts match your search for ..." message displays

Calypso Search

@lancewillett
Copy link
Contributor

This looks similar to #453 (which was supposedly fixed two days ago).

@lancewillett
Copy link
Contributor

Reading the change from 453 I think this is working as intended.

@chad1008 I actually can't reproduce this in wpcalypso. Clicking on Blog Posts resets the search for me in testing with Safari 9.0.1 on OS X 10.11.1 and a test blog.

@fabianapsimoes fabianapsimoes changed the title Search term doesn't clear when switching to Blog Posts screen Search: Search term doesn't clear when switching to Blog Posts screen Dec 9, 2015
@chad1008
Copy link
Contributor Author

chad1008 commented Dec 9, 2015

@lancewillett That's odd. I just had some other folks test and are all seeing the same in Chrome, Safari, and Firefox. Search term doesn't clear when clicking into Blog Posts from any other searchable page with a search term entered.

The search term does clear when going from /posts to another page though.

@lancewillett
Copy link
Contributor

Thanks Chad — will look into this more. 👀

@lancewillett
Copy link
Contributor

This is working correctly in my testing, with wpcalypso and a test site. Clicking into /posts from /design or /pages resets the search query string as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants