• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 "Show older items" shows newer items

RichardKYA

Well-known member
#1
In "Your news feed", the "Show Older Items" button displays newer items on my site? I've tried this is XF Default and it still does it.

I can't reproduce it here as I don't follow anyone here, so I can't test it.

Anyone else have this issue?

Thank you
 

Chris D

XenForo developer
Staff member
#2
On your site does it also do the same on the Recent Activity page? (Members > Recent Activity) This is more or less the same data.

I've just tested it here and it works as expected. Can't access your site so do you have a screenshot demonstrating the issue?
 

RichardKYA

Well-known member
#3
Recent Activity works fine.

The order of the content on News Feed page is in the correct order from top to bottom, so most recent at the top, then earlier content at the bottom, but when I click "Show older items", it shows 2 items from Friday (which are not displayed at the top of the news feed either)...

Screen Shot 2016-02-18 at 22.52.39.jpg
 

RichardKYA

Well-known member
#6
I don't. It's messed up. Old items from last year are showing in the first page load, then after clicking "show older items", more recent items are showing.
 

RichardKYA

Well-known member
#7
It looks like it's something to do with the user news feed cache. If I turn it off, it seems to sort the issue out.

Is it safe for me to truncate xf_user_news_feed_cache or will that mess things up elsewhere?
 

Chris D

XenForo developer
Staff member
#8
That should be safe to do, though I'm really curious as to how it got in this state in the first place. That would likely fix it, though.
 

RichardKYA

Well-known member
#9
Gods knows. It's not something I look at often, so maybe that's something to do with it. That said, I checked a couple of other test accounts and their feed was even more weird, one had about 6 items from August last year in the middle of items from today and last week.

I'll truncate the table and turn the cache back on and see how things go from there.