Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291721

Add a views sort handler for sorting content by moderation state

$
0
0

Problem/Motivation

There's no views sort handler for sorting on the moderation state field. In #2862041: Provide useful Views filters for Content Moderation State fields, a filter handler was added for filtering on moderation state. It would be useful to have this so results could be ordered by their current moderation state.

Steps to reproduce this:

  • Install content moderation.
  • Go to Content > Moderated content.
  • Click on the "Moderation state" column.
  • Exception should appear.

Proposed resolution

Add the appropriate handlers to make sorting work.

Remaining tasks

Review patch.

User interface changes

Fixes exception that bubbles up to the UI.

API changes

None.

Data model changes

None.


Viewing all articles
Browse latest Browse all 291721

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>