Skip to content

Commit 5121f96

Browse files
committed
fix
1 parent 7735a64 commit 5121f96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rating_api/models/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def search_by_user_id(self, query: int) -> bool:
149149
def search_by_subject(self, query: str) -> bool:
150150
if not query:
151151
return true()
152-
return func.lower(Comment.subject).contains(query)
152+
return func.lower(Comment.subject).contains(querylower())
153153

154154

155155
class LecturerUserComment(BaseDbModel):

0 commit comments

Comments
 (0)