mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
Merge pull request #3536 from tgxworld/fix_admin_site_settings_search_breakdown
Show breakdown for site settings.
This commit is contained in:
commit
e3f31da861
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@ export default Ember.ArrayController.extend(Presence, {
|
|||
});
|
||||
if (matches.length > 0) {
|
||||
matchesGroupedByCategory[0].siteSettings.pushObjects(matches);
|
||||
matchesGroupedByCategory.pushObject({
|
||||
nameKey: settingsCategory.nameKey,
|
||||
name: I18n.t('admin.site_settings.categories.' + settingsCategory.nameKey),
|
||||
siteSettings: matches
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue