Skip to content

Commit

Permalink
Revert " Includes additional layer fields in the search index" (#4217)
Browse files Browse the repository at this point in the history
* Revert " Includes additional layer fields in the search index"

* Keep fields which don't affect the upload failure
  • Loading branch information
francbartoli committed Feb 11, 2019
1 parent a5311bd commit 9cf57ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions geonode/layers/search_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ class LayerIndex(indexes.SearchIndex, indexes.Indexable):
csw_wkt_geometry = indexes.CharField(model_attr="csw_wkt_geometry")
detail_url = indexes.CharField(model_attr="get_absolute_url")
owner__username = indexes.CharField(model_attr="owner", faceted=True, null=True)
owner__first_name = indexes.CharField(model_attr="owner__first_name", faceted=True, null=True)
owner__last_name = indexes.CharField(model_attr="owner__last_name", faceted=True, null=True)
is_published = indexes.BooleanField(model_attr="is_published")
featured = indexes.BooleanField(model_attr="featured")
popular_count = indexes.IntegerField(
Expand Down

0 comments on commit 9cf57ef

Please sign in to comment.