From a48be3bea925ace2e424246da829db6696bda973 Mon Sep 17 00:00:00 2001
From: Oliver Walters <oliver.henry.walters@gmail.com>
Date: Tue, 23 Feb 2021 16:57:17 +1100
Subject: [PATCH] Remove regex search functionality from part api

---
 InvenTree/part/api.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/InvenTree/part/api.py b/InvenTree/part/api.py
index 12bfd2de1d..bae3594da3 100644
--- a/InvenTree/part/api.py
+++ b/InvenTree/part/api.py
@@ -665,9 +665,9 @@ class PartList(generics.ListCreateAPIView):
     ordering = 'name'
 
     search_fields = [
-        '$name',
+        'name',
         'description',
-        '$IPN',
+        'IPN',
         'keywords',
     ]