inventree / InvenTree

Open Source Inventory Management System
https://docs.inventree.org
MIT License
4.32k stars 780 forks source link

[FR] Include parameters in search #5576

Open wolflu05 opened 1 year ago

wolflu05 commented 1 year ago

Please verify that this feature request has NOT been suggested before.

Problem statement

I added numbers like GTIN as PartParameters or ManufacturerPartParameter to all of my parts. When using the global search I get zero results because parameters are not included in the global search.

Global search: image

Suggested solution

Include parameters in the global search

Describe alternatives you've considered

Don't use parameters for searchable numbers, but where else do I put the GTIN then? IPN, SKU and MPN are already used by their numbers.

Examples of other systems

No response

Do you want to develop this?

SchrodingersGat commented 1 year ago

If you can search by parameter, what is the "Result" that is returned? Is it a single parameter, or is it the part that the parameter is assigned to?

wolflu05 commented 1 year ago

Without thinking about what is difficult to implement, I would say the part showing the parameter would be the best option.

SchrodingersGat commented 1 year ago

Search integration will also involve significant front-end changes so I think it makese sense to leave this for the new react interface?

wolflu05 commented 1 year ago

Yes, makes sense. Its not that important for me that I need it now, but I think it would be a good search improvement.

github-actions[bot] commented 11 months ago

This issue seems stale. Please react to show this is still important.

SchrodingersGat commented 11 months ago

Nt stale

github-actions[bot] commented 9 months ago

This issue seems stale. Please react to show this is still important.

wolflu05 commented 9 months ago

Still active

github-actions[bot] commented 7 months ago

This issue seems stale. Please react to show this is still important.

wolflu05 commented 7 months ago

Still active

ECCOsea commented 7 months ago

May be its not be so relevant but i want to suggest catalog mode. Like on mouser or explanation on screenshot below. It is will be very convinient for search components via parameters and simultaniously see their locations to fast pickup this and try it in schematics. Catalogue Mode

wolflu05 commented 7 months ago

This is not related to this issue. This issue is about including parts with parameter values in the global search (the search where one can find parts, stock location, stock items, mp, sp,, ...).

I have added a screenshot of the global search I meant to the initial PR description.

Regarding your parameters table, this is as far as I can tell already supported by CUI (you need to select the parameter panel manually) and mostly also by PUI. Just the filtering part is missing, but that should be a separate issue.

wolflu05 commented 7 months ago

Should we add that to the horizont milestone?

matmair commented 7 months ago

sounds reasonable

SchrodingersGat commented 7 months ago

@ECCOsea note that we already have a "catalog" mode which works very well in the new interface:

https://demo.inventree.org/platform/part/category/5/parameters

image

ECCOsea commented 7 months ago

@SchrodingersGat wow! Thank you for link! This is very cool solution!!! Where i can leave feedback and suggestions? I want to test and improve this!

SchrodingersGat commented 7 months ago

Feedback you can leave here, raise any specific issues or new PRs.

If you want to work on this yourself, which would be great, then read these links: