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.

slelievre's avatar
196
slelievre
asked 2016-08-11 08:47:24 -0600, updated 2016-08-16 07:18:47 -0600
edit flag offensive 0 remove flag close merge delete

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 (2016-08-12 08:12:23 -0600) edit

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 (2016-08-16 07:17:44 -0600) edit
add a comment see more comments

1 Answer

0

Fixed in the repo, please try.

Evgeny's avatar
13.2k
Evgeny
answered 2016-08-12 08:54:59 -0600
edit flag offensive 0 remove flag delete 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 (2016-08-16 07:14:51 -0600) edit

@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 (2016-08-16 11:13:47 -0600) edit
add a comment see more comments