We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7735a64 commit 5121f96Copy full SHA for 5121f96
1 file changed
rating_api/models/db.py
@@ -149,7 +149,7 @@ def search_by_user_id(self, query: int) -> bool:
149
def search_by_subject(self, query: str) -> bool:
150
if not query:
151
return true()
152
- return func.lower(Comment.subject).contains(query)
+ return func.lower(Comment.subject).contains(querylower())
153
154
155
class LecturerUserComment(BaseDbModel):
0 commit comments