Skip to content

Commit

Permalink
filter by vector time layers is not working when haystack is enabled.
Browse files Browse the repository at this point in the history
as for vector_time layer, 'vectorTimeSeries' is indexed instead of 'vector_time'
  • Loading branch information
ahmednoureldeen committed Feb 13, 2019
1 parent 4d1f6b1 commit 1e6b231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/layers/search_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def prepare_type(self, obj):
def prepare_subtype(self, obj):
if obj.storeType == "dataStore":
if obj.has_time:
return "vectorTimeSeries"
return "vector_time"
else:
return "vector"
elif obj.storeType == "coverageStore":
Expand Down

0 comments on commit 1e6b231

Please sign in to comment.