incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1397115 - /incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py
Date Thu, 11 Oct 2012 15:40:28 GMT
Author: gjm
Date: Thu Oct 11 15:40:27 2012
New Revision: 1397115

URL: http://svn.apache.org/viewvc?rev=1397115&view=rev
Log:
remove limit on the 'more' query link on the dashboard - fixes #190 (from jure)

Modified:
    incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py

Modified: incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py?rev=1397115&r1=1397114&r2=1397115&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py (original)
+++ incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py Thu Oct 11
15:40:27 2012
@@ -88,6 +88,7 @@ class TicketQueryWidget(WidgetBase):
                         args[k] = v[0]
                 except TypeError:
                     pass
+            more_link_href = req.href('query', args)
             args.update({'page' : page, 'max': maxrows})
 
             qrymdl = self.env[QueryModule]
@@ -129,7 +130,7 @@ class TicketQueryWidget(WidgetBase):
                         'data' : data,
                         'ctxtnav' : [
                                 tag.a(_('More'), 
-                                    href=query.get_href(req.href))],
+                                    href=more_link_href)],
                         'altlinks' : fakereq.chrome.get('links', {}).get('alternate')
                     }, \
                     qryctx



Mime
View raw message