Commit 889182a6779739f8da1006a6a9860cf4f5f45f63
1 parent
bce15107
Exists in
master
and in
6 other branches
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/app/pages/programas/programa.controller.js
@@ -162,7 +162,8 @@ | @@ -162,7 +162,8 @@ | ||
162 | 162 | ||
163 | vm.DialogaService.getProposalsByTopicId(vm.article.id, { | 163 | vm.DialogaService.getProposalsByTopicId(vm.article.id, { |
164 | 'order': 'random()', | 164 | 'order': 'random()', |
165 | - 'limit': '1' | 165 | + 'limit': '1', |
166 | + 't': Date.now() // add a timestamp to get a non-cached resource | ||
166 | }, vm._handleSuccessOnGetProposal.bind(vm), vm._handleErrorOnGetProposal.bind(vm)); | 167 | }, vm._handleSuccessOnGetProposal.bind(vm), vm._handleErrorOnGetProposal.bind(vm)); |
167 | }; | 168 | }; |
168 | 169 |