vendredi 1 février 2019

Get parameters from current url on View

i have a url with this structure:

http://localhost:8000/products?category=chairs&sort=name

And in my viw i inserted the links pagination:



But i need to append in the products links the parameters from my url using this method appends:



Has is showin the the example on the documentation, but how can i get has a array all the parameters from my current url that i show above?

The final result shoed include the category and the current sort.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire