Commit 7c87898373a4361f65659c460aabededbe338205

Authored by Leonardo Merlin
1 parent 7184c46d

Improve fields loading on event-list request (issue #51)

src/app/components/article-service/article.service.js
... ... @@ -190,7 +190,7 @@
190 190  
191 191 var url = service.apiCommunities + community_id + '/articles';
192 192 var paramsExtended = angular.extend({
193   - // 'fields[]': ['id', 'title', 'abstract', 'body', 'categories', 'created_at', 'start_date', 'end_date', 'followers_count', 'image', 'url'],
  193 + 'fields[]': ['id', 'title', 'abstract', 'body', 'setting', 'presenter', 'created_at', 'update_at', 'start_date', 'end_date', 'followers_count', 'image', 'url'],
194 194 'content_type':'Event'
195 195 }, params);
196 196  
... ...