From d5fe207efdbd19eb5cfb034c74d635ef1cb97b59 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Sun, 25 Feb 2018 18:06:12 +0100 Subject: [PATCH] DbObjectWithSettings: sort settings by name --- library/Director/Data/Db/DbObjectWithSettings.php | 1 + 1 file changed, 1 insertion(+) diff --git a/library/Director/Data/Db/DbObjectWithSettings.php b/library/Director/Data/Db/DbObjectWithSettings.php index 0f2a44c5..189b4549 100644 --- a/library/Director/Data/Db/DbObjectWithSettings.php +++ b/library/Director/Data/Db/DbObjectWithSettings.php @@ -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') ); }