Skip to content

[BUG] - Cookbook filter category "is not one of" only excludes recipes which have ONLY that category #5151

Open
@ronnybugle

Description

@ronnybugle

First Check

  • This is not a feature request.
  • I added a very descriptive title to this issue (title field is above this).
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the Mealie documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • This issue can be replicated on the demo site (https://demo.mealie.io/).

What is the issue you are experiencing?

When using the filter for category "is not one of" the filter doesn't exclude a recipe unless it only has that category - ie. If a recipe has multiple categories it won't be excluded from the search if one of those categories isn't the one that I'm excluding.

Steps to Reproduce

Pre-requisite: Recipes that have multiple categories

  1. Filter a cookbook list with a "is not one of" type
  2. See if any of the recipes in it have that category

Please provide relevant logs

Logs not relevant

Mealie Version

v2.7.1 - Build: d24a518

Deployment

Other (please specify below)

Additional Deployment Details

Docker on QNAP NAS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions