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 1afce42 commit 0f2ce77Copy full SHA for 0f2ce77
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