Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7535345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:16:58+00:00 2026-05-30T06:16:58+00:00

It is bit difficult to explain, but I’m facing problem in pagination of set

  • 0

It is bit difficult to explain, but I’m facing problem in pagination of set of records. The problem is becoming complex because the sorting order of records changes. Let me explain it with some example for better idea.

There are “posts”. Posts has many comments. I’m sorting the posts as, post on with latest comment will be shown on the top.

For ex. if there are 4 posts and the initial order is B, D, A, C. And I’m showing one post at a time. When user click “more” link next post will show.

So the sequence will be:
“B” -> click “more” -> “D” -> click “more” -> “A” (B -> D -> A)

But in other case if any comment added on post before it is displayed, it will give wrong result.

Again considering the example above. Initial order is B, D, A, C

“B” -> click “more” -> “D” (B -> D)

now some comment added on “A”, so the new order will be A, B, D, C
so now when I click on “more” I get “D” i.e. o/p >> B -> D -> D -> C

Any insights, on this issue are highly appreciated.
Thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T06:16:59+00:00Added an answer on May 30, 2026 at 6:16 am

    I’ve solved this issue with use of timestamp. The timestamp is noted when page is requested for first time. And if any activity that happens after that timestamp is ignored. So I get the same sequence.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a bit of a difficult problem to explain, but I'm hoping it
I have this problem which i find a bit difficult to explain but I
This will be a bit difficult to explain but I will try my best.
Its a bit difficult to explain, but i will try. Whenever someone clicks on
So this is going to be a bit difficult to explain, but I'll give
It's a bit difficult to explain but here is the situation: I'm programming a
This might be a bit difficult to explain but I have two columns in
This was a bit difficult to explain in the title, but I should be
It's a bit difficult for me to describe, but this pseudo C# should explain
The question is a bit difficult to explain, but I will try. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.