Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 93d6106

Browse files
committed
fix: fix typo
1 parent d7e75fc commit 93d6106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

locations/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def get_queryset(self):
4646
types = [t.lower() for t in type_names.split(u',')]
4747
terms = Q()
4848
for typ in types:
49-
terms | Q(name__iexact=typ)
49+
terms |= Q(name__iexact=typ)
5050

5151
loc_types = LocationType.objects.filter(terms)
5252
queryset = queryset.filter(type__in=loc_types)

0 commit comments

Comments
 (0)