-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RTM] Add news sorting ability #13
Conversation
|
I have changed the field name to |
| $arrOptions['order'] = "$t.headline DESC"; | ||
| break; | ||
|
|
||
| case 'sort_random': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really think that randomly sorted news is something anyone needs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we needed it a couple of times at least. Currently in three projects as well.
|
Also had projects with the requirement of random sorted news/events. Often is required when a set of highlights are teasered on the homepage. |
|
Any further changes required? Otherwise I'd consider this RTM. |
|
You should mark it |
|
Right 😁 |
|
I just realized that there is a |
|
I'll adjust the PR accordingly. |
|
Indeed. I forgot about that as well. |
|
Merged in 0241e9a. |
This implements #12
I added it for the newslist as well as the newsarchive.