commit ec043e2b66af7d149e27d36077022b42dc1777e2 Author: Karsten Loesing karsten.loesing@gmx.net Date: Sun Sep 23 19:41:43 2012 +0200
Only search for beginning of nickname etc. --- pyonionoo/database.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyonionoo/database.py b/pyonionoo/database.py index 128ccae..a7d909b 100644 --- a/pyonionoo/database.py +++ b/pyonionoo/database.py @@ -204,7 +204,7 @@ def query_summary_tbl(running_filter=None, type_filter=None, hex_fingerprint_fil clauses = [] if search_filter: for filter in search_filter: - clauses.append("search like '%%%s%%'" % filter) + clauses.append("search like '%% %s%%'" % filter) if running_filter: clauses.append("running = %s" % int(running_filter)) if type_filter:
tor-commits@lists.torproject.org