diff options
author | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-20 18:34:51 (GMT) |
---|---|---|
committer | Benjamin Saller <bcsaller@objectrealms.net> | 2007-07-20 18:34:51 (GMT) |
commit | 0bb57949c9a673be49e87c69469128b9928a82da (patch) | |
tree | 16afadcc4427000cde692bf6b0f14d0376d052c6 | |
parent | 51a1629e3755b8612223e7f314b85eb21f8ed84d (diff) |
query building bug from last night
-rw-r--r-- | src/olpc/datastore/xapianindex.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/olpc/datastore/xapianindex.py b/src/olpc/datastore/xapianindex.py index 46eca98..0be462d 100644 --- a/src/olpc/datastore/xapianindex.py +++ b/src/olpc/datastore/xapianindex.py @@ -343,7 +343,7 @@ class IndexManager(object): q = query.pop('query', None) if q: queries.append(self.parse_query(q)) - if not query: + if not query and not queries: # we emptied it q = self.read_index.query_all() else: |