Reviewed & tested by the community
Project:
Workbench Moderation
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 May 2012 at 21:12 UTC
Updated:
12 Sep 2017 at 09:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Bevan commentedThis patch also allows nodes which have a different current revision to the published revision to be included.
Comment #2
Bevan commentedOh, I see from #1361210: 'Workbench moderation: current' views filter does not list all content that the better way to do that is to create a view based on the node_revision table.
As for the original patch, "left" should be capitals.
Comment #3
Bevan commentedRelated: #1300616: Node views with duplicate results when using fields from "workbench_moderate_node_history"
Comment #4
Bevan commentedComment #5
peterx commentedPatch #1 fixed problem in Workbench Moderation 7.x-1.1 then I installed 7.x-1.2 and it needs the same patch.
Comment #6
hass commentedDuplicate of #1781744: Draft and Needs review pages are broken?
Comment #7
Taxoman commentedComment #8
ashrafabedI needed the most recently attached patch to change the inner join to a left join on the current dev branch.
Comment #9
ashrafabedThe attached patch combines the previous patch (LEFT JOIN not INNER), with a patch for joining on nid rather than vid, because the two patches conflict.
Comment #10
rv0 commentedthe Patch in #8 works fine on 7.x-1.x branch. Thanks
Re-opening this old issue, would be nice to have this committed (unless there's a good reason not to?)
The linked "duplicate" seems to handle something else.
The patch in #9 I don't understand, is it related to another issue?
Comment #11
ashrafabedThe patch in #9 should be ignored as it includes something that has already been merged into the dev branch. #8 is all we need.
Comment #12
brockfanning commented#8 is a simple patch, makes sense, and it works. I feel this is ready to be committed.
Comment #13
rgristroph commentedI'm also now incorporating this patch ( #8 ) on a live site. It seems RTBC is justified and it ought to get committed.
Comment #14
eric_a commented