Skip to content

Commit f65e2e8

Browse files
committed
Lekker snugger dan
1 parent d875589 commit f65e2e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

oscarapi/utils/exists.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ def find_existing_attribute_option_group(name, options):
5656
query = (
5757
AttributeOptionGroup.objects.filter(name=name)
5858
.annotate(options_count=models.Count("options"))
59-
.filter(options_count=len(options))
60-
.filter(options__option__in=options)
59+
.filter(options_count=len(options), options__option__in=options)
6160
)
6261

6362
try:

0 commit comments

Comments
 (0)