Repository navigation
bugs-tab - Fix 0-bugs count bug - #10117
Merged
Merged
Conversation
fregante
commented
Sep 24, 2026
| // Count again once we know the label, without delaying the initial tag appearance | ||
| counter.set(await exactBugs.get(query)); | ||
| const exactCount= await exactBugs.get(query); | ||
| assert(exactCount > 0, `Compound bug search returned zero results when about ${count} were expected`); |
Member
Author
There was a problem hiding this comment.
I'm expecting this GitHub bug to be fixed, so I'm leaving it as a loud error
It works in the repo issue search: https://github.com/refined-github/refined-github/issues?q=is%3Aissue%20state%3Aopen%20(label%3Abug%20OR%20type%3ABug)
But not in the global search: https://github.com/search?q=repo%3Arefined-github%2Frefined-github+is%3Aissue+state%3Aopen+%28label%3Abug+OR+type%3ABug%29&type=issues
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Mentioned in https://github.com/refined-github/refined-github/pull/10086/changes#r4090436758