Describe the bug
If you use the search bar and click search it pulls up posts that include that word (as expected), but if you click clear all filters it does not bring back all posts - posts are not reset to all data
To Reproduce
Enter "Image" in the search bar
Click the search button or press enter
Click the clear all filters button
Posts rendered on the page don't change
Expected behavior
Enter "Image" in the search bar
Click the search button or press enter
Click the clear all filters button
All posts should render on the page
Proposed Solution
Add setPosts() to the clear all filters button function
[X] I am willing to submit a pull request for this issue.
Describe the bug If you use the search bar and click search it pulls up posts that include that word (as expected), but if you click clear all filters it does not bring back all posts - posts are not reset to all data
To Reproduce Enter "Image" in the search bar Click the search button or press enter Click the clear all filters button Posts rendered on the page don't change
Expected behavior Enter "Image" in the search bar Click the search button or press enter Click the clear all filters button All posts should render on the page
Proposed Solution Add setPosts() to the clear all filters button function