How to cycle sortby?
Posted: 30 Sep 2017 09:08
Hello everyone,
I need a little help with what I'm trying to make, I like to cycle sort similar to the cycle through views on another thread.
I changed the cycle through view script to the sortby and sort but its not working.
The script is trying to cycle between sort by created and sort by name.
I need a little help with what I'm trying to make, I like to cycle sort similar to the cycle through views on another thread.
I changed the cycle through view script to the sortby and sort but its not working.
Code: Select all
$mode = get("Sort");
if ($mode == #321) {sortby "Created","a";}
elseif ($mode == #325) {sortby "Name","a";}