Skip to content

Commit 68dffc1

Browse files
committed
fix: Chat log search
1 parent 93e5c9d commit 68dffc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/serializers/application_chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def get_query_set(self, select_ids=None):
101101
if 'abstract' in self.data and self.data.get('abstract') is not None:
102102
base_query_dict['application_chat.abstract__icontains'] = self.data.get('abstract')
103103
if 'username' in self.data and self.data.get('username') is not None:
104-
base_query_dict['application_chat.asker__username'] = self.data.get('username')
104+
base_query_dict['application_chat.asker__username__icontains'] = self.data.get('username')
105105

106106

107107
if select_ids is not None and len(select_ids) > 0:

0 commit comments

Comments
 (0)