DbObjectWithSettings: sort settings by name

This commit is contained in:
Thomas Gelf 2018-02-25 18:06:12 +01:00
parent 64e1f463a2
commit d5fe207efd
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ abstract class DbObjectWithSettings extends DbObject
$db->select()
->from($this->settingsTable, ['setting_name', 'setting_value'])
->where($this->settingsRemoteId . ' = ?', $this->get('id'))
->order('setting_name')
);
}