The 'My Edits' view should display all nodes the user has edited regardless of moderation state or other users' edits.

Comments

joscar created an issue. See original summary.

joscar’s picture

StatusFileSize
new8.35 KB

Resolved by editing view. Changing relationship from vid to nid. Patch attached.

jody lynn’s picture

This is an important change.

Currently 'My Edits' only shows you your edit if you were the last one to have edited the node. If you create a draft and then someone else edits your draft, you will then be in a situation where you have no way of finding that node anywhere in workbench. That's a huge usability problem.

With this change you now see every edit you've made regardless of whether someone else more recently edited it.

This problem may have been introduced by a change in Views and not be the originally intended behavior of Workbench. https://www.drupal.org/node/1754354#comment-9962451 was useful in fixing it.

joscar’s picture

StatusFileSize
new6.53 KB

Revised patch

jody lynn’s picture

Status: Active » Reviewed & tested by the community

Reviewed and tested patch in 4.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 4: workbench-my_edits-2560441.patch, failed testing.

The last submitted patch, 2: workbench-my_edits-2560441-1.patch, failed testing.

kelvinwong’s picture

StatusFileSize
new13.1 KB

Recreating patch file for workbench-my_edits-2560441.patch

kelvinwong’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 8: workbench-my_edits-2560441-8.patch, failed testing.

kelvinwong’s picture

Status: Needs work » Needs review
StatusFileSize
new6.54 KB
kelvinwong’s picture

StatusFileSize
new7.15 KB

Applied the same fix on the My Edits block.

kenorb’s picture