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

Allows to limit search to folders only in inventory #71

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chanayane
Copy link
Contributor

This lets you limit your search to folders only. Very useful when you have a large inventory and you need to find a specific folder without the search getting drown with folder items.

It does not change the default behavior, if you uncheck "Include items" it will limit the search to folders only and show only folders.

Normal behavior, "Include items" checked
FirestormOS-AyaneStorm_VM223Ybhq7

"Include items" unchecked
FirestormOS-AyaneStorm_hpCm82bHoh

@chanayane
Copy link
Contributor Author

I also optimized the LLInventoryFilter::checkAgainstSearchVisibility method to short-circuit so as to avoid unnecessary loops.

@beqjanus
Copy link
Contributor

Silly question maybe, but would a filter of "folders" (as a dummy asset type) be more logical?
In the current setup I could filter to "Clothing" and then only match on folder names. I'm not sure if that makes sense to a user or not?

@chanayane
Copy link
Contributor Author

Silly question maybe, but would a filter of "folders" (as a dummy asset type) be more logical? In the current setup I could filter to "Clothing" and then only match on folder names. I'm not sure if that makes sense to a user or not?

Yes, I will rework this.

@chanayane chanayane marked this pull request as draft January 28, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants