Skip to content

Instantly share code, notes, and snippets.

@brianswisher
Created May 1, 2012 19:29
Show Gist options
  • Save brianswisher/2570720 to your computer and use it in GitHub Desktop.
Save brianswisher/2570720 to your computer and use it in GitHub Desktop.
Sort Results by Star Rating in Ascending Order
document.location.replace("sort?sortCriterion=starRating&isSortAscending=true&searchTokenId="+document.location.toString().split('searchTokenId=').pop().split('&').shift())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment