Open sanchitgumber opened 1 week ago
Thanks for creating the issue in SkillWise! Before you start working on your PR, please make sure to:
Attach before & after screenshots in your PR for clarity.
We're excited to see your contribution as part of Hacktoberfest 2024! 🎉
Happy open-source contributing!
Thank you for creating this issue! 🎉 Your issue will soon be reviewed by Project Maintainers. In the meantime, please make sure to provide all the necessary details and context. If you have any questions or additional information, feel free to add them here. Your contributions are highly appreciated! 😊
You can also check our CONTRIBUTING.md for guidelines on contributing to this project.
can you assign this issue to me
I'll start with the issue, assign it to me @PriyaGhosal
/assign
Description: When using the search bar to search for a specific word, the search successfully filters topics/content on the first click of the search button. However, if you click the search button again without changing the search query, the same results are appended to the filtered list instead of clearing the old list and fetching fresh results.
Steps to reproduce:
Enter a word in the search bar. Click the search button. Observe that the results are filtered correctly. Click the search button again without changing the search query. The same results are appended to the filtered list rather than refreshing the results.
Expected behavior: On subsequent clicks of the search button, the old filtered results should be cleared, and only fresh results should be shown.
Actual behavior: The previous results are not cleared, duplicate results are appended to the filtered list.