johnstephens Posted August 2, 2021 Share Posted August 2, 2021 Supposing I have pages that include the comments fieldtype in their template. How do I sort those pages with the page with the most recent comment first, descending by less recent comments? Thank you! Link to comment Share on other sites More sharing options...
elabx Posted August 2, 2021 Share Posted August 2, 2021 Haven't tested myself but this topic seems to have quite a bit of info: What seems to be the most helpful is the find() method on the FieldtypeComments class. https://processwire.com/api/ref/fieldtype-comments/find/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now