summaryrefslogtreecommitdiff
path: root/ishtar_common/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r--ishtar_common/widgets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py
index e131521e0..b9166f361 100644
--- a/ishtar_common/widgets.py
+++ b/ishtar_common/widgets.py
@@ -621,7 +621,7 @@ class SearchWidget(forms.TextInput):
self.app_name = app_name
self.model = model
if not pin_model:
- pin_model = self.model
+ pin_model = self.model.lower()
self.pin_model = pin_model
def get_context(self, name, value, attrs):