changeset 5495:222a9f3d4023 stable

notifications: ensure paginator's links remain correct after Mark All Read Paginator is loaded together with the dynamic page content, so when it's generated, a wrong URL may be used for its links.
author Andrew Shadura <andrew@shadura.me>
date Thu, 10 Sep 2015 23:29:50 +0200
parents 57caeb60c52b
children 2b2216e8af36
files kallithea/templates/admin/notifications/notifications_data.html
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/notifications/notifications_data.html	Thu Sep 03 13:10:17 2015 +0200
+++ b/kallithea/templates/admin/notifications/notifications_data.html	Thu Sep 10 23:29:50 2015 +0200
@@ -32,7 +32,7 @@
 
 <div class="notification-paginator">
   <div class="pagination-wh pagination-left">
-  ${c.notifications.pager('$link_previous ~2~ $link_next',**request.GET.mixed())}
+  ${c.notifications.pager('$link_previous ~2~ $link_next',controller='admin/notifications',**request.GET.mixed())}
   </div>
 </div>