We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e27b5b commit 70cfe8fCopy full SHA for 70cfe8f
oscarapi/utils/exists.py
@@ -57,7 +57,7 @@ def find_existing_attribute_option_group(name, options):
57
AttributeOptionGroup.objects.filter(name=name)
58
.annotate(options_count=models.Count("options"))
59
.filter(options_count=len(options))
60
- .filter(options__option__in=option)
+ .filter(options__option__in=options)
61
)
62
63
try:
0 commit comments