Permalink
Browse files

fixes th:#10298 - search for filenames as well as text

  • Loading branch information...
1 parent 8df0e1c commit 00a17ab5baea1cb25e06759b084857f56b417186 @ejucovy ejucovy committed with git repository hosting Sep 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 multireposearch/sqlindexer.py
@@ -82,7 +82,7 @@ def do_reindex(db):
def find_words(self, query):
db = self.env.get_read_db()
- sql, args = search_to_sql(db, ['contents'], query)
+ sql, args = search_to_sql(db, ['filename', 'contents'], query)
cursor = db.cursor()
cursor.execute(self.query % sql, args)
for id, filename, repo in cursor:

0 comments on commit 00a17ab

Please sign in to comment.