diff options
Diffstat (limited to 'client/html')
| -rw-r--r-- | client/html/post_main.tpl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/client/html/post_main.tpl b/client/html/post_main.tpl index cb45db0..f170713 100644 --- a/client/html/post_main.tpl +++ b/client/html/post_main.tpl @@ -32,9 +32,15 @@ <article class='random-post'> <% if (ctx.randomPostId) { %> <% if (ctx.editMode) { %> - <a rel='next' href='<%= ctx.getPostEditUrl(ctx.randomPostId, ctx.parameters) %>'> + <a rel='next' href='<%= ctx.getPostEditUrl(ctx.randomPostId, { + query: ctx.parameters.query, + metrics: ctx.parameters.metrics, + cachenumber: Math.round(Math.random() * 1000)}) %>'> <% } else { %> - <a rel='next' href='<%= ctx.getPostUrl(ctx.randomPostId, ctx.parameters) %>'> + <a rel='next' href='<%= ctx.getPostUrl(ctx.randomPostId, { + query: ctx.parameters.query, + metrics: ctx.parameters.metrics, + cachenumber: Math.round(Math.random() * 1000)}) %>'> <% } %> <% } else { %> <a rel='next' class='inactive'> |