[FR]Add ability to filter out Inactive parts in the quick search

Open
#13,131 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
django, python
Domain
backend

Research direction

Start by locating the quick search implementation and its existing filters, then trace how part activity status is represented and used in search results. Add a quick search option that hides inactive parts; done when enabling it excludes inactive parts while leaving active results searchable. The issue names no files or tests, so first identify the relevant search code and tests in the repository.

Written by the indexing model from the issue text.

Description

enhancement User Interface
Please verify that this feature request has NOT been suggested before.
  • I checked and didn't find a similar feature request
Problem statement

We used to inactivate the old revisions of parts.
Searching with the quick search is a bit cumbersome this way as the majority of the results are inactive parts.

Suggested solution
Image

Adding a hide inactive parts option to the quick search would improve the usability of the quick search in these scenarios.

Describe alternatives you've considered
Examples of other systems
Do you want to develop this?
  • I want to develop this.
Dominant language
Python
Stars
7.7k
Forks
1.6k
Avg merge
21h 45m
Merged PRs (30d)
204

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from inventree/InvenTree

All issues in inventree/InvenTree

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.