bug: Search feature does not return results shown
Describe the bug When I used the search feature on the website, It showed the relevant result but does not redirect/return the result. It seems like it might be searching within a course I am not enrolled in, so no results are displayed.
To Reproduce Steps to reproduce the behavior:
- Search any topic which may not be a part of the topics of your enrolled course
- See error
Expected behavior Ideally it should have searched in only the topics I have access to.
Screenshots or GIFs
https://github.com/user-attachments/assets/08084aa0-604b-4f97-8332-a022df933e33
Info (please complete the following information):
- Browser : Chrome
- Version : Latest
Additional context I would like to contribute and try fixing this issue as well.
Hi, i will stop showing results for content that user did not paid for , there must be something wrong in route or middleware bypass