Skip to content

Commit

Permalink
[Fixes #9471] add resource_type as filter in legacy API (#9472)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiagiupponi authored Jun 6, 2022
1 parent 576b4ad commit c1eb819
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geonode/api/resourcebase_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ class CommonMetaApi:
'purpose': ALL,
'uuid': ALL_WITH_RELATIONS,
'abstract': ALL,
'metadata': ALL_WITH_RELATIONS
'metadata': ALL_WITH_RELATIONS,
"resource_type": ALL
}
ordering = ['date', 'title', 'popular_count']
max_limit = None
Expand Down

0 comments on commit c1eb819

Please sign in to comment.