Skip to content

Commit

Permalink
pass in proper search dictionary to ItemCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhanson committed Sep 23, 2019
1 parent 63d833d commit 40f8c29
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion satsearch/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,8 @@ def items(self, limit=10000):
# item = dict_merge(item, collections[item['properties']['collection']])
# _items.append(Item(item))

return ItemCollection(items, collections=collections, search=self.kwargs)
search = {
'endpoint': config.API_URL,
'parameters': self.kwargs
}
return ItemCollection(items, collections=collections, search=search)

0 comments on commit 40f8c29

Please sign in to comment.