There are two alternatives.

Have the generate_links function assume args when creating the url. This
could be based on the existing args in request.

URL(r=self.r, args=self.r.args)

Or patch get_set to allow passing args as part of the function declaration,
it would in turn pass these args to the generate_links() function and then
URL would use those args.

In the first case you would not need to change anything on your side. The
second option would look something like

qry = paginate.get_set(set_links=True, args=['myarg1', 'myarg2'])

Which would YOU prefer?

--
Thadeus




On Thu, Nov 11, 2010 at 3:09 AM, Andrew Evans <randra...@gmail.com> wrote:

> ur the developer of Web2py Utils is that corr

Reply via email to