Newest Sort by user_registered date instead of ID
-
Hi! I would like to sort the newest user in the members widget and the members page by registered date instead of ID. Is this possible? I tried hacking the core file to test and changed ORDER BY u.ID DESC to ORDER BY u.user_registered DESC in class-bp-core-user, but that didn’t seem to do anything. I’m using buddypress for an intranet site and set the wordpress registered date to the hired date of each employee. Now it looks kind of funny, because it shows the dates that they were hired, but its all out of order because its sorting by their database ID instead of the actual date.
- You must be logged in to reply to this topic.