Commits

Anonymous committed 533e80e Draft

remove limit on the 'more' query link on the dashboard - fixes #190 (from jure)

Comments (0)

Files changed (1)

bhdashboard/widgets/query.py

                         args[k] = v[0]
                 except TypeError:
                     pass
+            more_link_href = req.href('query', args)
             args.update({'page' : page, 'max': maxrows})
 
             qrymdl = self.env[QueryModule]
                         'data' : data,
                         'ctxtnav' : [
                                 tag.a(_('More'), 
-                                    href=query.get_href(req.href))],
+                                    href=more_link_href)],
                         'altlinks' : fakereq.chrome.get('links', {}).get('alternate')
                     }, \
                     qryctx