First time here? Check out the FAQ!
1

Ordering bug in questions list in user profile page
 

Currently (2016-08-11), my ask-askbot profile, says "17 questions", and lists 10 on the first page; clicking "next page" one sees 7 questions, but some questions from page 1 and page 2 are the same, for instance "Fix footer on Ask Askbot home" and "Fix preview on Ask Askbot".

So, do I have less than 17 questions, or do they get ordered differently when I view page 1 and page 2, so that some of them remain hidden?

In any case, there is some bug to fix here.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
slelievre's avatar
196
slelievre
asked 8 years ago, updated 8 years ago

Comments

1

Right, thank you. The orderings are different in the two ways of retrieval, you will notice that if you go back to the page 1 after 2.

Evgeny's avatar Evgeny (8 years ago)

Okay, going back to page 1 after page 2, the questions displayed on page 1 are now all different from those on page 2. Thanks for this trick to work around the bug when you know it.

slelievre's avatar slelievre (8 years ago)
see more comments

1 Answer

0

Fixed in the repo, please try.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 8 years ago
link

Comments

I see the fix in the repo: commit ee447b37f594778d07761a82836805ce3f729378, with commit message "matches sorting of user questions on the user profile page with that loaded via ajax", at https://github.com/ASKBOT/askbot-devel/commit/ee447b37f594778d07761a82836805ce3f729378 .

slelievre's avatar slelievre (8 years ago)

@Evgeny, when you say "please try", do you mean that the fix is live here at Ask Askbot? Or do you mean "On some other website running Askbot, update the Askbot engine and see if lists of questions on user profiles keep the same order when switching to page 2 and then back to page 1"?

slelievre's avatar slelievre (8 years ago)
see more comments