Fix: include monetary, float and doc link values in search filters (#5951)

This commit is contained in:
shamoon 2024-02-29 00:21:56 -08:00 committed by GitHub
parent fba416e8e1
commit af16bb3934
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -161,8 +161,11 @@ class CustomFieldsFilter(Filter):
| qs.filter(custom_fields__value_text__icontains=value)
| qs.filter(custom_fields__value_bool__icontains=value)
| qs.filter(custom_fields__value_int__icontains=value)
| qs.filter(custom_fields__value_float__icontains=value)
| qs.filter(custom_fields__value_date__icontains=value)
| qs.filter(custom_fields__value_url__icontains=value)
| qs.filter(custom_fields__value_monetary__icontains=value)
| qs.filter(custom_fields__value_document_ids__icontains=value)
)
else:
return qs