Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prestapyt/prestapyt.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _validate(self, options):
"""
if not isinstance(options, dict):
raise PrestaShopWebServiceError('Parameters must be a instance of dict')
supported = ('filter', 'display', 'sort', 'limit', 'schema', 'date', 'date_filter')
supported = ('filter', 'display', 'sort', 'limit', 'schema', 'date', 'date_filter', 'id_shop')
# filter[firstname] (as e.g.) is allowed, so check only the part before a [
unsupported = set([param.split('[')[0] for param in options]).difference(supported)
if unsupported:
Expand Down