Module Description
πŸ‡ΊπŸ‡¦ This module is maintained by Ukrainian developers. Please consider supporting Ukraine in a fight for their freedom and safety of Europe. This is really Drupal 9/10 comments sorting This module provides to change comments order (sorting functionality) in Drupal 9/10. You can pick comment order (newest first or oldest first) per node type, editing your comment type field on the "Manage fields" tab (node type administration page).

Not only in flat, but also in threaded display! If you use threaded display, you can pick how will able to sort children comments. Examples below.

Usage Configurable per content type on the "Manage fields" tab, editing your comment type field. You can set the "Comments order": - Oldest first (ascending order) - Newest first (descending order) Also you can set or unset "Natural order for children" if you pick descending order.

How it works If you use threaded comments Drupal 9/10 have ascending order for comments by default, like this:

- comment 1 -- comment 1.1 -- comment 1.2 --- comment 1.2.1 --- comment 1.2.2 --- comment 1.2.3 - comment 2 -- comment 2.1 -- comment 2.2

If you change order to descending with "Natural order for children" by current module, you'll get the following result:

- comment 2 -- comment 2.1 -- comment 2.2 - comment 1 -- comment 1.1 -- comment 1.2 --- comment 1.2.1 --- comment 1.2.2 --- comment 1.2.3

It means you reverse order for parent comments, but use natural order for children comments. Children comments are sorted like default.

But if you pick descending order without "Natural order for children" by current module, you'll get:

- comment 2 -- comment 2.2 -- comment 2.1 - comment 1 -- comment 1.2 --- comment 1.2.3 --- comment 1.2.2 --- comment 1.2.1 -- comment 1.1

It means you reverse order for parent comments and reverse order for children comments.

If you don't use threaded comment lists your comments will be sorted by date creation (ascending or descending).

Drupal 7 This module works only with Drupal 8/9. If you use Drupal 7 install next modules: Sort Comments Comment Sort Weight

Project Usage
1887
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module provides sorting functionality for comments in Drupal 9/10, allowing users to change the order of comments by node type and choose between oldest first or newest first, including threaded display options.
Data Name
comments_order

OPENAI CHATBOT

OPENAI CHATBOT

12:19:18
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.