#1190: Allow partial string matching when searching on custom fields
This commit is contained in:
parent
95fdb549d7
commit
583830c652
|
|
@ -32,7 +32,7 @@ class CustomFieldFilter(django_filters.Filter):
|
|||
pass
|
||||
return queryset.filter(
|
||||
custom_field_values__field__name=self.name,
|
||||
custom_field_values__serialized_value=value,
|
||||
custom_field_values__serialized_value__icontains=value,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue