Open SchrodingersGat opened 1 year ago
Hi @SchrodingersGat Have you been working on this? I really need this feature to be implemented.
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!
As a starting point, look at these recent PRs which have added parameter filtering, and parameter units:
Currently we support:
also check out the filter_parametric_data
function which was implemented in the PRs above:
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 :)
@SchrodingersGat
I made some updates but not going anywhere near what I want. I'm snuggling to get used to the UI part. you could take a look at this PR. https://github.com/agooddaytowork/InvenTree/pull/1/files
@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. Do you mind opening a PR against (this) upstream repo so we can discuss and maybe build a UI around it?
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 https://github.com/inventree/InvenTree/pull/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 https://github.com/inventree/InvenTree/pull/4823) to make this performant
Upvote & Fund