InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Search by Parameter Value

Open SchrodingersGat opened this issue 1 year ago • 8 comments

          I'm a bit confused, and maybe just misunderstanding, but I still cannot properly filter on parameter values. Both on my own server, and on the demo server, if I search for text that's in one of the parameter columns (but NOT in the part name/description), then those parts don't come up.

For example, on the demo server if you search for 'canvas' on the Parameters page, only one result comes up that has 'canvas' in the name. However there are multiple parts that have canvas as a parameter value. Clicking the sort arrow on a column properly sorts, but I can't figure out how to filter down by specific parameter values.

There are also no params available in the filter dropdown, as eeintech showed in their screenshot above.

Originally posted by @second-string in https://github.com/inventree/InvenTree/issues/4823#issuecomment-2132244334

SchrodingersGat avatar May 26 '24 23:05 SchrodingersGat

The idea here is to add the ability to search by "parameter value" in the parameteric part table

SchrodingersGat avatar May 26 '24 23:05 SchrodingersGat

Yes! Preferably, I'd love if we make it so that it's like any type of webshop where you get a list of filters containing all parameters of that type.

So, say you have a parameter called "Screw size", then instead of having to type "M3", "4/40" etc, you can just select it from a table that's compiled from available parameter values.

LavissaWoW avatar May 26 '24 23:05 LavissaWoW

@LavissaWoW's comment is a definite 'nice to have' for me as well, but I absolutely am just okay with a raw text input that matches on all parameters for any parts in the filtered list.

second-string avatar May 27 '24 07:05 second-string

I'm going to open this one up for funding if people want to support getting this feature available sooner

SchrodingersGat avatar May 27 '24 07:05 SchrodingersGat

@LavissaWoW's comment is a definite 'nice to have' for me as well, but I absolutely am just okay with a raw text input that matches on all parameters for any parts in the filtered list.

That sounds like #5576

wolflu05 avatar May 27 '24 07:05 wolflu05

I threw $50 in on this issue, would love to see this!

mylesagray avatar Jun 22 '24 16:06 mylesagray

@mylesagray appreciate it! Currently a couple of other features I am giving priority to but this is also high on my list.

SchrodingersGat avatar Jun 23 '24 12:06 SchrodingersGat

Hey @mylesagray unfortunately polar.sh have removed their issue funding feature - meaning that the funding you committed against this issue has been "removed". This issue is still in the pipeline, perhaps you would still be willing to sponsor via other methods (but no pressure)

SchrodingersGat avatar Apr 01 '25 05:04 SchrodingersGat