Sort by node update *or* last comment
tonderai - March 29, 2007 - 19:41
| Project: | Views |
| Version: | 4.7.x-1.5 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
I have a "latest" page, driven by views. The purpose of the page is to show the latest forum threads (by last comment time) and latest updates to wikipages (by node update time), all in one list.
The problem I have is that I want to show latest nodes by their update time or by the latest comment i.e. I want to sort by a "latest" characteristic that treats update and last comment time equally. I know I can add two sort criteria, but this means one is always prioritised over the other.
Does anyone have any ideas? Is there a pre-existing "include" that does this?

#1
this won't get into 4.7, might even be fixed in 5.x by now.
#2
This is not a feature in 5.x, sadly.
This request is something the Recent Changes module implemented, but unfortunately they didn't include a Views "sort" option, so I'm trying to study this as a website I'm working on depends on this sort.
#3
My mistake on this: you can sort by "Comment: Last Changed" which allows you to "Sort based on the most recent comment or edit for the node."