Skip to content

Commit

Permalink
fix next page url of expression.
Browse files Browse the repository at this point in the history
  • Loading branch information
laiwei committed Aug 2, 2017
1 parent bca5a13 commit 4b645ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rrd/templates/portal/expression/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</div>

{% import "portal/blocks.html" as blocks %}
{{ blocks.pager('/expressions?q='+data.query+'&mine='+data.mine, data.total, data.limit, data.page) }}
{{ blocks.pager('/portal/expressions?q='+data.query+'&mine='+data.mine, data.total, data.limit, data.page) }}

This comment has been minimized.

Copy link
@CastroKKK

CastroKKK Sep 19, 2017

{{ blocks.pager('/portal/expression?q='+data.query+'&mine='+data.mine, data.total, data.limit, data.page) }}


<br/>
<br/>
Expand Down

1 comment on commit 4b645ee

@CastroKKK
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

发现在expressions 点击任何翻页会报错:NOT FOUND 。

解决方法如下:【其实就是一个拼串多了一个s字符】

找到服务端dashboard组件,修改 dashboard/rrd/templates/portal/expression/list.html 文件,
将 61行,问号前面删除一个 s 即可。

以下为修改好的代码!!
{{ blocks.pager('/portal/expression?q='+data.query+'&mine='+data.mine, data.total, data.limit, data.page) }}

Please sign in to comment.