SyncRule: fetch properties in reverse order
This commit is contained in:
parent
a88d064b05
commit
c6842520d9
|
@ -81,7 +81,10 @@ class SyncRule extends DbObject
|
|||
$db = $this->getDb();
|
||||
return SyncProperty::loadAll(
|
||||
$this->getConnection(),
|
||||
$db->select()->from('sync_property')->where('rule_id = ?', $this->id)
|
||||
$db->select()
|
||||
->from('sync_property')
|
||||
->where('rule_id = ?', $this->id)
|
||||
->order('priority DESC')
|
||||
);
|
||||
|
||||
return $this->syncProperties;
|
||||
|
|
Loading…
Reference in New Issue