Skip to content

Filtering parts NOT contained in a project doesn't work correctly #578

Open
@frank-f

Description

@frank-f

Describe the bug
If I try to exclude parts contained in a certain project from a list (Tab "Projects", "Project", "Is not"), it does not work if the part is contained in two (or more?) projects. Those will still be shown.

To Reproduce

  1. Create two projects (Project-A, Project-B)
  2. Create two parts (Part-1, Part-2)
  3. Add Part-1 to Project-A and Project-B
  4. Add Part-2 to Project-A
  5. Search for "Part" and exclude all parts in Project-A
  6. You will still see Part-1

Expected behavior
An empty list.

Server Side

  • Part-DB Version: 1.11.3 (master/96f5b2b)
  • PHP Version: 8.1.27 (SAPI: fpm-fcgi)
  • Database Server MySQL 8.0.35

Desktop (please complete the following information):

  • Browser Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdifficult_to_fixDifficult (or impossible) to fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions