DbObjectWithSettings: sort settings by name
This commit is contained in:
parent
64e1f463a2
commit
d5fe207efd
|
@ -136,6 +136,7 @@ abstract class DbObjectWithSettings extends DbObject
|
||||||
$db->select()
|
$db->select()
|
||||||
->from($this->settingsTable, ['setting_name', 'setting_value'])
|
->from($this->settingsTable, ['setting_name', 'setting_value'])
|
||||||
->where($this->settingsRemoteId . ' = ?', $this->get('id'))
|
->where($this->settingsRemoteId . ' = ?', $this->get('id'))
|
||||||
|
->order('setting_name')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue