The repository filtering when searching by code dissapeared #200312
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
This sounds more like a search indexing or UI issue than a problem with the repository itself. GitHub has recently updated parts of the code search experience, and in some cases the repository-specific search context isn't preserved when using the global search bar or the / shortcut. As a result, pressing / may open the global search instead of limiting results to the current repository. A few things that may help: Try opening the repository's Code tab first, then use the search bar from within the repository instead of the global search. If you're using the new code search experience, check whether the repository filter (repo:owner/repository) is being applied automatically. If not, adding it manually should restrict the search to that repository. If the repository is private, ensure you still have the required permissions, as missing access can also affect repository-scoped search. If the repository was recently renamed, transferred, or has had a large number of new commits, the search index may take some time to update. If none of these apply and the repository filter has completely disappeared compared to previous behavior, it may be a regression in GitHub's search UI rather than an issue with your repository. In that case, reporting it with screenshots and browser details would help the GitHub team reproduce the problem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
Code Search and Navigation
Body
I was trying to search code on a repository, but, it only said "Press / to search", when I did that, it was aiming to search on ALL of github, not that specific repository, i've searched code with this before with no problem inside the repository
Beta Was this translation helpful? Give feedback.
All reactions