Index only searchable map

This was broken on the sesql to pgindex switch
Unittests needed.
This commit is contained in:
Yohan Boniface 2014-05-13 14:03:00 +02:00
parent e63783bf3f
commit 64cbfe0bfc

View file

@ -25,6 +25,9 @@ class MapIndex(IndexBase):
def get_start_publish(self):
return self.obj.modified_at
def get_publish(self):
return self.obj.share_status == Map.PUBLIC
def get_vectors(self):
vectors = []
if self.obj.name: