Commit 026c9ba222e8ae5ff9c2666b3a5b9957adfdd17e
Exists in
master
and in
6 other branches
Merge branch 'fix-issues'
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 | 162 | |
163 | 163 | vm.DialogaService.getProposalsByTopicId(vm.article.id, { |
164 | 164 | 'order': 'random()', |
165 | - 'limit': '1' | |
165 | + 'limit': '1', | |
166 | + 't': Date.now() // add a timestamp to get a non-cached resource | |
166 | 167 | }, vm._handleSuccessOnGetProposal.bind(vm), vm._handleErrorOnGetProposal.bind(vm)); |
167 | 168 | }; |
168 | 169 | ... | ... |