The list of contributors no longer show the logo of an org that hasn't made a proposal

- Until now, organisations that have made any change to an event in the past (even including an admin running scripts that update the event) would flag an event as having an extra contributor

- From now on, the Contributors field only shows orgs that have created proposals
pull/224/head
iglocska 2014-03-03 14:18:26 +01:00
parent a2bf7a3362
commit cf6a430d10
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ class EventsController extends AppController {
$this->loadModel('Log');
$logEntries = $this->Log->find('all', array(
'conditions' => array('title LIKE' => '%Event (' . $id . ')%', 'org !=' => $results[0]['Event']['orgc']),
'conditions' => array('title LIKE' => '%Event (' . $id . ')%', 'org !=' => $results[0]['Event']['orgc'], 'model LIKE' => '%ShadowAttribute%'),
'fields' => array('org'),
'group' => 'org'
));