Skip to content

Commit

Permalink
Not include docs in filter
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Jul 3, 2017
1 parent cb3bc22 commit 31d7100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openprocurement/archivarius/core/bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def fill_api_clients_queue(self):

def fill_resource_items_queue(self, resource):
start_time = datetime.now(TZ)
rows = self.db.iterview(self.resources[resource]['view_path'], 10 ** 3, include_docs=True)
rows = self.db.iterview(self.resources[resource]['view_path'], 10 ** 3)
filter_func = partial(self.resources[resource]['filter'], time=start_time)
for row in ifilter(filter_func, rows):
self.resource_items_queue.put({
Expand Down

0 comments on commit 31d7100

Please sign in to comment.