Skip to content
Snippets Groups Projects
Commit b572ef8c authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix sort of settings

parent 3479e955
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ Template.admin.helpers
sections: ->
group = FlowRouter.getParam('group')
group ?= TempSettings.findOne({ type: 'group' })?._id
settings = TempSettings.find({ group: group }, {sort: {section: 1, sort: 1, i18nLabel: 1}}).fetch()
settings = TempSettings.find({ group: group }, {sort: {section: 1, sorter: 1, i18nLabel: 1}}).fetch()
sections = {}
for setting in settings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment