Forum Discussion
Hi Peterlu,
User collections doesn't support last_visit_attribute to use as a constraint.
Thanks,Suchith
- peterluChampion
SuchithI guess your use case is to list recent active users. There may be some work around. Eg. You can create a hidden board and create an admin post. And create a meta field for the post to store user id. I think there is a Lithium trigger, when user login every time, it can poke to a endpoint. In the endpoint you can create replies to this post with the user id. Then you can use the API V2 message object to query the recent posts for recent users.
Or post a Lithium idea to ask Lithium to add the last_visited_time as a WHERE constrain :)
Related Content
- 8 years ago