Closed JasonLovesDoggo closed 1 year ago
return queryset.filter(Q(tags__in=[10]) and Q(tags__in=[47])) # works
# vs
return queryset.filter(Q(tags__in=[10]) & Q(tags__in=[47])) # does not
bitwise sucks.
todo: fix this 😭
Non-applicable anymore. Search type was removed
When doing a request such as
/api/v3/obj/announcement?tags=10&tags=42&search_type=AND
the SQL is
vs something along the lines of
will fix asap but is not CRITICAL RN