Skip to content
Snippets Groups Projects
Commit 862f1d8f authored by Tim Steiner's avatar Tim Steiner
Browse files

canEdit property was not being loaded with requsets.

parent 28c17985
No related branches found
No related tags found
No related merge requests found
......@@ -120,7 +120,7 @@ class Requests_RequestModel extends Unl_Model
*/
$select->from(array('r' => 'creqRequests'), array('requestId'));
$select->join(array('s' => 'creqRequestStacks'), 'r.stackPointer = s.requestStackId', array());
$select->join(array('p' => 'creqApprovalActionParticipants'), 's.action = p.approvalAction', array('approvalBodyRole'));
$select->join(array('p' => 'creqApprovalActionParticipants'), 's.action = p.approvalAction', array('approvalBodyRole', 'canEdit'));
if (Unl_Util::isArray($roleId)) {
$select->where('p.approvalBodyRole IN (?)', $roleId);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment