What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 130 Stack Exchange communities.

Possible Duplicate:
back arrow to recent activity

STR:

  1. Click your username
  2. On the "stats" tab, click on "recent"
  3. Click any question
  4. Press "Back" in browser.

Actual:

You're back to the list of questions sorted by "votes"

Expected:

You're back exactly where you were.

(It is also currently impossible to bookmark the "my questions by recency" page.)

share|improve this question

marked as duplicate by waffles Jun 29 '10 at 1:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
what browser do you see this in? –  warren Nov 19 '09 at 16:35
    

2 Answers 2

First up, changing the sort order does not really count as navigation, and why should it? You are getting the exact same information, but just in a different order. The data being sorted with JS is the ideal solution.

To fix the broken navigation, I would suggest the use of #anchors to indicate the current sort method. /users/131346/joshhunt would give me my/the default sort method, but when you click on votes, the URL changes to /users/131346/joshhunt#sort-by-votes in order to make the back buttons work. The anchor name could be as verbose as needed because anchors are never sent to the server as a part of the URL.

share|improve this answer
    
Yeah, that seems to be the most common way to fix this. I take your point about how it's not exactly "navigation" when you change the sort order. –  romkyns Nov 19 '09 at 15:57

Turning JS off leads me to this page: http://meta.stackoverflow.com/api/useranswers.html?userid=135197&page=1&pagesize=30&sort=recent

Ain't pretty (and you'll need to put your own userID in), but it works. Ajax in general is much nicer than proper links for things like sorting - shouldn't have to reload everything to sort one item!

share|improve this answer
    
I got to that page too by copying link location and just going to it. It's not pretty indeed. Re "nicer" - that's subjective :) I think it's nicer when "back" and bookmarks work. AJAX doesn't have to break them though. –  romkyns Nov 19 '09 at 15:56

Not the answer you're looking for? Browse other questions tagged .