Merge pull request #1353 from SchrodingersGat/regex-search-fix

Remove regex search functionality from part api
This commit is contained in:
Oliver 2021-02-23 18:01:48 +11:00 committed by GitHub
commit 2c85d630f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -665,9 +665,9 @@ class PartList(generics.ListCreateAPIView):
ordering = 'name'
search_fields = [
'$name',
'name',
'description',
'$IPN',
'IPN',
'keywords',
]