TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 123
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 73
  • Total: 73

Articles and Selected Topics - Sorted By Date is not work properly

Started by saks, December 12, 2010, 04:30:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WillyP

Just did some testing on rc4, and when I changed the setting for what is shown on the front page, some forum topics got moved back, and stayed there even when I changed the settings back again.  I found this when I had about 4 each of articles and forum posts.

WillyP

The article system rounds off seconds. The forum does not.  So a forum post might have been created at 03:41:06 PM, and an article at 03:41:38 PM.   So you expect the article on top.   But, no, the article gets posted at 03:41:00 PM and ordered as such.

SMF2 RC4 with Tiny Portal

bloc

Thats because you can set a date for the article - unlike a forum post. It didn't seem necessary to add seconds too. In effect: getting *exact* order of articles/forum based on time is never going to work 100% accurate unless seconds choice is also added to article adding/editing page.

WillyP


WillyP

Ok, the other two parts are still true.  When you have some articles and posts, and some articles are 'promoted to fronpage' then with 'Selected topics + articles' everything is in correct order by date.  Then change to 'Forum-posts and articles - sorted on date' and the most recent forum post is on top, with the rest of the forum posts buried on the last page that has anything on it.  Followed by some blank pages.  Then change back to 'Selected topics + articles' and the only difference is any posts that are not promoted disappear.

Edit: added to bugtracker: TinyPortal Bug tracker - Issue #56: Article/ forum post ordering issues.

IchBin


This website is proudly hosted on Crocweb Cloud Website Hosting.