forked from decidim/decidim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update open data exports for Debates (decidim#13698)
* updated and created (including specs) added * added followers and the test for them * added translations for debates * normalize the tansalations * followers_count removed as followers already added * test to check closed_at when is false * added comments author type and last comment id * fixed updated_at test * last_id and last_type refined * updated transaltions * renamed the followers count method * added endorsements count and test * endorsements_count updated translation * Update decidim-debates/lib/decidim/debates/debate_serializer.rb Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com> * updated spec for follows count * logic created to retrieve values if a comment is left on a debate * tests for last comment fields if comments are left on debate and test for no values * removed unused i18n translations * updated translations of last_comment_by ans follows_count * renamed author name and url to reflect user --------- Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
- Loading branch information
1 parent
3979723
commit ccf5c6f
Showing
3 changed files
with
74 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters