Hi, Just wondered which order Articles are sorted by when you enable pagination? Mine appear jumbled somewhat if I enable it.
Articles pagination order?
Collapse
X
-
Articles are sorted by publish date.
There is a feature request to add sorting to Articles here: https://tracker.vbulletin.com/vbulle...sues/VBV-18768Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 API -
Articles are sorted by publish date.
There is a feature request to add sorting to Articles here: https://tracker.vbulletin.com/vbulle...sues/VBV-18768
Hmm. Yes, this holds true for the 1st page of a paginated list of articles for me but when I click onto page 2 the wheels start to fall off...
Pg1.
Published Date :
14/5
14/5
14/5
14/5
13/5
11/5
11/5
11/5
10/5
26/4
Pg2.
Published Date :
24/4
22/3
23/3
15/3
24/3
7/3
23/4
26/4
17/4
8/4Comment
-
I looked at Lastupdate, Published Date and Created but had no joy getting a consistent kind of order to a paginated list of Articles.
Does anyone know the query VB5 uses to pull back Articles from the DB and display them in paginated lists?Comment
-
Like all other content display, it uses a search query that is modified on the fly by the user's permissions. Most queries in vBulletin 5 are dynamically built. There isn't necessarily a specific query in a file that can be modified to change things.
Code:{vb:rawdata nodes, search, getInitialResults, {vb:raw articleOptions}, {vb:raw articleWidgetConfig.resultsPerPage}, {vb:raw page.pagenum}, 1} {vb:data nodeResultsWithViews, node, 'mergeNodeviewsForTopics', {vb:raw nodes.results}}
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
No, it is not possible to change the sorting of articles. There are no options to do so on the Module. That is why I created and linked the Issue Report above.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
MARK.B
vBulletin Support
------------
My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
My Unofficial vBulletin Cloud Demo: https://www.adminammo.comComment
Related Topics
Collapse
-
by SneijderI've somehow made the published date on articles disappear but I've forgotten how I did it.. now I wanna show the published dates for articles.. how do I do that?
-
Channel: vB Cloud Support & Troubleshooting.
-
-
by ABDUR7MAANArticles are not arranged by creation date
They are arranged according to the date of the last update or modification to the article.-
Channel: Support Issues & Questions
-
Comment