localgovdrupal / localgov_workflows

Default editorial workflow for LocalGov Drupal content.
GNU General Public License v2.0
0 stars 1 forks source link

Use entity being reviewed as the label for the review entity #61

Closed andybroomfield closed 11 months ago

andybroomfield commented 11 months ago

Fix https://github.com/localgovdrupal/localgov_workflows/issues/60

If the review has a parent entity (it should!) then use that as the label. This is to allow a more sensible display in Drupal UI in places like views bulk operations.

Also includes a test for the case when the review is orphaned (node is deleted)

andybroomfield commented 11 months ago

Failing tests look like something to do with main workflows module.

stephen-cox commented 11 months ago

Tests should be fixed with #54