You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/10/11 17:40:28 UTC
svn commit: r1397115 -
/incubator/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/query.py
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