With these updates for Drupal Core:
https://git.drupalcode.org/project/drupal/-/commit/98b6e3a9259ace81272e8...
Issue: https://www.drupal.org/project/drupal/issues/3483551
The sort_by field key changed.
From torder to thread_order
This change needs to be adopted here!
Issue fork comments_order-3555270
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3555270-stopped-working-for
changes, plain diff MR !3
Comments
Comment #3
carsteng commentedThat's a first draft.... Probably needs some additional work in regards to Drupal version.
Comment #4
sandeshyadav commentedThe given fix works for me.
Basically, what you have to do is replace all the occurrences of
torderwiththread_orderincomments_order.modulefile.Comment #7
lobodakyrylo commentedThanks for the report.
Drupal 11.2 introduced incompatible internal changes to the comment query, so supporting both Drupal 11.2+ and older Drupal versions in the same codebase would require additional compatibility code.
To keep the implementation simple and maintainable, I created a new major branch:
- 3.x supports Drupal 9, 10, and Drupal 11.0–11.1.
- 4.x supports Drupal 11.2+.
The fix has been committed to the 4.x branch.