-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
Products resolver should not be fetching unpublished products by default. If that is the expected behavior, there should be a filter in ProductFilterInput to filter out the unpublished products
Actual Behavior
Getting unpublished products in the products resolver
Possible Solution
add a filter
Steps to reproduce
Running the below query
`
query Products($currentPage: Int, $pageSize: Int) {
products(currentPage: $currentPage, pageSize: $pageSize) {
totalCount
minPrice
maxPrice
products {
id
typeId
visibility
name
displayName
description
attributeValues {
attribute {
name
}
name
}
productVariants {
displayName
}
thumbnail
slug
price
currency {
id
name
symbol
}
categories {
id
name
}
}
}
}
`
What version of odoo integration are you using?
16
What version of Node.js are you using?
18.17.0
What browser (and version) are you using?
Chrome 118
What operating system (and version) are you using?
macOS
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working