Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix search result count again #180453

Merged
merged 1 commit into from Apr 20, 2023
Merged

Fix search result count again #180453

merged 1 commit into from Apr 20, 2023

Conversation

rzhao271
Copy link
Contributor

Ref #158531

This PR fixes a bug introduced by #178842 where searching for @id:editor.tabSize results in the search result counter saying that over 1000 settings were found.

This PR also loosens an if condition. The if condition was previously there, because the toc tree was responsible for providing the count, but we now get the count from the search results model itself, so we don't check for the status of the toc tree.

@rzhao271 rzhao271 enabled auto-merge (squash) April 20, 2023 22:56
@rzhao271 rzhao271 self-assigned this Apr 20, 2023
@rzhao271 rzhao271 added this to the April 2023 milestone Apr 20, 2023
@rzhao271 rzhao271 merged commit 175cd6b into main Apr 20, 2023
8 checks passed
@rzhao271 rzhao271 deleted the rzhao271/fix-search-count branch April 20, 2023 23:12
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants