That would do it! thanks
*** Edit ***
Hmmm... I’ve got this partially working and can sort results by manually adding order parameters to the url in the browser address bar. Ending up with something like:
/search-results?textSearch=&ptyPrice-0=400000&search=search&order=down
But I want the user to be able to sort results via a link or drop-down. How can I build a link that grabs the page url including all current search parameters, and then appends either
&order=down or
&order=up?
I’ve tried:
<a href="[(site_url)][~[*id*]~]&order=down">
but this produces the url /search-results&order=down and I lose all the search parameters.
Would I need to build a snippet that uses something like the
Smart ModX Url function? Javascript? Or could it be simpler? Not sure how to do it!
*****
Ok, found a solution. If anyone is interested, have a look here:
http://modxcms.com/forums/index.php?topic=50945.0
There’s probably an answer to everything on these forums, not always easy to find what you’re looking for though