Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/carquinyol/indexstore.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/carquinyol/indexstore.py')
-rw-r--r--src/carquinyol/indexstore.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/carquinyol/indexstore.py b/src/carquinyol/indexstore.py
index 3a00c25..387f7bb 100644
--- a/src/carquinyol/indexstore.py
+++ b/src/carquinyol/indexstore.py
@@ -127,12 +127,12 @@ class IndexStore(object):
text += value
return text
- def find(self, query):
+ def find(self, query, options):
enquire = Enquire(self._database)
- offset = query.pop('offset', 0)
- limit = query.pop('limit', MAX_QUERY_LIMIT)
- all_versions = query.pop('all_versions', False)
+ offset = options.pop('offset', 0)
+ limit = options.pop('limit', MAX_QUERY_LIMIT)
+ all_versions = options.pop('all_versions', False)
enquire.set_query(self._parse_query(query))