-
-
Notifications
You must be signed in to change notification settings - Fork 850
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
[FR] Filter based on parameter value #4851
Comments
Hi @SchrodingersGat In case you have not worked on this feature, I would like to implement this my self locally first. Could you drop more guidelines on where I should start? |
@agooddaytowork no work on this to date, so if you want to take it on, that's great! ReferencesAs a starting point, look at these recent PRs which have added parameter filtering, and parameter units: Currently we support:
also check out the InvenTree/InvenTree/part/api.py Line 1217 in 20b59c3
Let me know if you need any other pointers! Be very keen to see this feature get off the ground. |
This issue seems stale. Please react to show this is still important. |
Not stale. @agooddaytowork did you ever get anywhere with this? Would be keen to see this working :) |
I made some updates but not going anywhere near what I want. I'm snuggling to get used to the UI part. |
@agooddaytowork given the user interface changes requied to get this to work, I think we should park it until the react user interface is further along... |
@agooddaytowork the API work looks intresting. |
This issue seems stale. Please react to show this is still important. |
Not stale. @agooddaytowork any updates on this from your end? |
@agooddaytowork any status on this on the backend? We could probably integrate it easily into the new frontend. |
This issue seems stale. Please react to show this is still important. |
Not stale. Adding to horizon milestone |
After #4823 is completed, add ability to define custom filters for the 'parametric part table' based on parameter value
e.g.
?param_3_gt=9000
: Find parts with length > 9,000mm?param_4=0402
: Find components with package0402
Support operators like:
-eq (equality)
Would have to use some complex queryset annoations on the server (much like in #4823) to make this performant
Upvote & Fund
The text was updated successfully, but these errors were encountered: