Don't include query string in embedded grid URL.

This was causing the param list to grow each time a search happened at
least, maybe more.
This commit is contained in:
Lance Edgar 2015-02-24 23:53:22 -06:00
parent 364a38a936
commit 9e7d0e177d

View file

@ -88,7 +88,7 @@ class Grid(Object):
classes.append('hoverable')
return format_attrs(
class_=' '.join(classes),
url=self.request.current_route_url())
url=self.request.current_route_url(_query=None))
def get_view_url(self, row):
kwargs = {}