Getting a list of articles in one category but ordered
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
6 years 2 months ago #6872
by phonemas
Hi,
I am trying to bring a list of articles in one category but ordered descending by modification date.
Is that possible?
Where can i see an example?
Thanks in advance for the answer.
Regards,
Solón
Please Log in or Create an account to join the conversation.
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
6 years 2 months ago #6873
by phonemas
i'm using:
"&orderby=modified_date&orderdir=asc"
But it seems not to work well.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
6 years 2 months ago - 6 years 2 months ago #6879
by admin
Hi Solón
assuming you were referring to content plugin here you can find the API documentation with all supported parameters:
www.selfget.com/documentation/jbackend-joomla30/content-module-api.html
As you can see modified_date is not supported:
Order by:
id, title, alias, catid, state, created, created_by, ordering (default), hits
Order dir:
asc (default), desc
Kind regards,
Luigi
Last edit: 6 years 2 months ago by admin.
Please Log in or Create an account to join the conversation.
-
phonemas
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 12
-
Thank you received: 0
-
-
6 years 1 month ago #6931
by phonemas
Greetings, Thanks for your reply (I'm not getting forum posts).
And is it possible to include this feature?
Regards,
Solón
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 3194
-
Thank you received: 441
-
-
5 years 11 months ago #6980
by admin
Yes, but I don't know when a new version will be released. If you need it now you can add it to the content plugin, it should be really easy to do if you know a little PHP.
Kind regards
Luigi
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds