settings: Fix sort order display settings.

This fixes the mis-alphabetized `fluid_layout_width` at few places in
the codebase, along with that it also fixes sorting order of
`property_types` dictionary in models.py and few model fields of
`UserProfile` model class.
This commit is contained in:
Pragati Agrawal
2019-06-13 18:51:20 +05:30
committed by Tim Abbott
parent 216267e279
commit 15ff8fb73f
3 changed files with 12 additions and 12 deletions

View File

@@ -379,6 +379,7 @@ exports.dispatch_normal_event = function dispatch_normal_event(event) {
'demote_inactive_streams',
'dense_mode',
'emojiset',
'fluid_layout_width',
'high_contrast_mode',
'night_mode',
'left_side_userlist',
@@ -386,7 +387,6 @@ exports.dispatch_normal_event = function dispatch_normal_event(event) {
'twenty_four_hour_time',
'translate_emoticons',
'starred_message_counts',
'fluid_layout_width',
];
if (_.contains(user_display_settings, event.setting_name)) {
page_params[event.setting_name] = event.setting;