Skip to content

Commit

Permalink
[UPDT] ACCESSIBILITY: Job position accessible filter is not working i…
Browse files Browse the repository at this point in the history
…ssue
  • Loading branch information
horilla-opensource committed Feb 17, 2025
1 parent 18e37f9 commit c711e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accessibility/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def filter_queryset(self, queryset):
field_value = field_value[0]

if "__" in field:
or_conditions.append(Q(**{f"{field}__id__in": field_value}))
or_conditions.append(Q(**{f"{field}__id__in": [field_value]}))
else:
if isinstance(field_value, list):
or_conditions.append(Q(**{f"{field}__in": field_value}))
Expand Down

0 comments on commit c711e85

Please sign in to comment.