Skip to content

Exclude ids already attached at the collection when attaching new products #2236

@vitalijalbu

Description

@vitalijalbu
  • Lunar version: latest
  • Laravel Version: 12.9.3
  • PHP Version: 8.4
  • Database Driver & Version: mysql 8

Expected Behaviour:

There must be a whereNotIn() ids query filterign when searching the products to attach to the category

Actual Behaviour:

You can attach same product multiple times

Steps To Reproduce:

Try to attach same product multiple times

Registrazione.schermo.2025-07-01.alle.19.13.51.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions