Show More
@@ -111,7 +111,7 b' class AdminUsersView(BaseAppView):' | |||
|
111 | 111 | base_q = User.query().filter(User.username != User.DEFAULT_USER) |
|
112 | 112 | |
|
113 | 113 | if search_q: |
|
114 | like_expression = u'{}%'.format(safe_unicode(search_q)) | |
|
114 | like_expression = u'%{}%'.format(safe_unicode(search_q)) | |
|
115 | 115 | base_q = base_q.filter(or_( |
|
116 | 116 | User.username.ilike(like_expression), |
|
117 | 117 | User._email.ilike(like_expression), |
General Comments 0
You need to be logged in to leave comments.
Login now