Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled products should not show up in a search query result #3142

Open
mschipperheyn opened this issue Oct 17, 2024 · 0 comments
Open

Disabled products should not show up in a search query result #3142

mschipperheyn opened this issue Oct 17, 2024 · 0 comments
Assignees
Labels
P4: low Non-critical, workarounds exist type: feature ✨

Comments

@mschipperheyn
Copy link
Collaborator

Describe the feature
The search query allows you to search for products based on a number of inputs. Product:enabled is not one of them. And yet when you disable a product you want to be sure it disappears from the query results.

Expected behavior
There should be a flag to filter out disabled products, which should default to true

Workaround
Filter the disabled results out at the client level. However, this screws with pagination.

Environment (please complete the following information):

  • @vendure/core version: 3.0.4
@mschipperheyn mschipperheyn added type: feature ✨ P4: low Non-critical, workarounds exist labels Oct 17, 2024
@mschipperheyn mschipperheyn self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P4: low Non-critical, workarounds exist type: feature ✨
Projects
None yet
Development

No branches or pull requests

1 participant