Added ability to filter in user's assigned assets by category ID and model ID #14509
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.
This adds additional filters to the user's asset API endpoint that should let the API return filtered results showing only a user's assets that match a particular category or model ID.
In going through this work, I realize we have some inconsistencies in how we reference our query scopes. Many of them are quite old, and the notion of adding scopes to search on names in addition to ID numbers wasn't on our radar back then.
In v7, I hope to refactor those scope names so that they're a little clearer when the scope is looking at an ID or looking for a name search.