Skip to content

Commit

Permalink
Merge pull request #2614 from WikiWatershed/tt/hydroshare-export-list…
Browse files Browse the repository at this point in the history
…ing-modal

Fix Share modal behavior in project listing

Connects #2611
  • Loading branch information
rajadain committed Jan 22, 2018
2 parents 08285da + 776601b commit 3794426
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mmw/apps/modeling/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ class ProjectListingSerializer(gis_serializers.GeoModelSerializer):
class Meta:
model = Project
fields = ('id', 'name', 'area_of_interest_name', 'is_private',
'model_package', 'created_at', 'modified_at', 'user')
'model_package', 'created_at', 'modified_at', 'user',
'hydroshare')

hydroshare = HydroShareResourceSerializer(read_only=True)


class ProjectUpdateSerializer(gis_serializers.GeoModelSerializer):
Expand Down

0 comments on commit 3794426

Please sign in to comment.