typo in sortby test

This commit is contained in:
Jean-Francois Dockes
2012-12-20 20:11:08 +01:00
parent 826edb3e50
commit 6245b24367
2 changed files with 9 additions and 6 deletions
+2
View File
@@ -45,6 +45,8 @@ def extractofile(doc, outfilename=""):
def doquery(db, q):
# Get query object
query = db.query()
query.sortby("dmtime", ascending=True)
# Parse/run input query string
nres = query.execute(q, stemming = 0, stemlang="english")
qs = u"Xapian query: [%s]" % query.getxquery()