diff src/pages/merge-requests/page_meta.py @ 1043:d8666fdb015c

pages (tickets, merge-requests): fixed items URLs
author Goffi <goffi@goffi.org>
date Wed, 24 Jan 2018 09:58:00 +0100
parents 6ce9647011b3
children ed67265205c4
line wrap: on
line diff
--- a/src/pages/merge-requests/page_meta.py	Wed Jan 24 09:58:00 2018 +0100
+++ b/src/pages/merge-requests/page_meta.py	Wed Jan 24 09:58:00 2018 +0100
@@ -58,4 +58,4 @@
 
     merge_requests = yield self.host.bridge.mergeRequestsGet(service.full() if service else u'', node, C.NO_LIMIT, [], '', {}, profile)
     template_data[u'tickets'] = [template_xmlui.create(self.host, x) for x in merge_requests[0]]
-    template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, 'merge-requests_view', '{item.id}'))
+    template_data[u'on_ticket_click'] = data_objects.OnClick(url=self.getSubPageURL(request, u'merge-requests_view') + u'/{item.id}')