Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

querystring templatetag #7

Open
jpvanhal opened this issue Mar 11, 2012 · 0 comments
Open

querystring templatetag #7

jpvanhal opened this issue Mar 11, 2012 · 0 comments

Comments

@jpvanhal
Copy link
Contributor

A templatetag that would you to update portion of the query string without overwriting the entire thing would be nice.

Let's we assume that we have the query string ?search=john+matrix&sort=name&page=2 and we would like to update the page parameter:

{% querystring page=1 %}

The above would result in:

?search=john+matrix&sort=name&page=1

This templatetag would replace the qp_url_for abomination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant