Skip to content

Conversation

@kkthxbye-code
Copy link
Contributor

Fixes: #7932

Instead of querying the DOM and modifying it in the same loop, maintain a list of matched rows and apply the css classes afterwards.

Before the fix filtering 1000 elements took 22 seconds. After the fix the same query took around 200 ms.

@kkthxbye-code
Copy link
Contributor Author

This is my first UI change, so please tell me if I did anything wrong.

@thatmattlove thatmattlove merged commit dc30405 into netbox-community:develop Nov 30, 2021
@kkthxbye-code kkthxbye-code deleted the fast-filter branch May 9, 2022 16:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2022
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.

Quick find search box is slow

2 participants