Skip to content

Global search for notes omitting results from table view. #12482

Closed

Description

@HMHepburn

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

When trying to use the global search with the 'notes search' setting enabled. Results with note fields matching the search term appear.
However, when trying to open the results by selecting 'view all results' - those instances with notes are omitted from the table view (see image).

Image

Steps to Reproduce

  1. Add a unique string (i.e. "XYZ123DFJG") to the notes field in 3 parts. Ensure that the string does not exist as a substring of their part names or other fields.
  2. Open the global search menu.
  3. Click on the gear symbol to show the search settings.
  4. Enable 'notes search'
  5. Paste the substring from 1. and verify that the 3 parts appear as results.
  6. Click on the table symbol next to 'parts' to 'view all results'
  7. See that the table does not include the 3 parts (or is empty).

Expected behaviour

When opening the table view from a global search, all parts with notes fields matching the search substring will be visible. (see image)

Image

Deployment Method

Docker

Version Information

InvenTree-Version: 1.5.0 dev
API Version: 522
Python Version: 3.14.5
Django Version: 5.2.15

I'm not able to copy the full version information on my inventree instance.

Try to reproduce on the demo site

I tried to reproduce

Is the bug reproducible on the demo site?

Reproducible

Relevant log output

I noticed that in the response fields for API requests that the list of parts is available in the search view and table view. However, the table view just omits these parts.

part	{ count: 3, next: null, previous: null, … }

Activity

  1. added
    bug
    question
    triage:not-checked
    on Jul 27, 2026
  2. SchrodingersGat commented on Jul 28, 2026

    @SchrodingersGat
    Member

    @HMHepburn thanks for pointing this out. I think that the "global" search is the only one which actually uses the "include notes in search" setting - so when you jump to the specific table view, these entries are not included.

  3. added
    api
    and removed
    triage:not-checked
    on Jul 28, 2026
  4. added this to the 1.5.0 milestone on Jul 28, 2026
  5. HMHepburn commented on Jul 28, 2026

    @HMHepburn
    Author

    Thank you! Looking forward to the fix for this - it'll be super helpful.

  6. modified the milestones: 1.5.0, 1.6.0 on Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    apibugquestion

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions