Fix preferences handling for utilities.
parent
137bae1b04
commit
33e75d24f8
|
@ -154,7 +154,7 @@ def preferences_s():
|
|||
if len(m['categories']):
|
||||
for c in m['categories']:
|
||||
for p in c['preferences']:
|
||||
p['module'] = m['label']
|
||||
p['module'] = m['name']
|
||||
res.append(p)
|
||||
|
||||
return ajax_response(
|
||||
|
|
|
@ -303,6 +303,7 @@ class Preferences(object):
|
|||
res = {
|
||||
'id': self.mid,
|
||||
'label': self.label or self.name,
|
||||
'name': self.name,
|
||||
'categories': []
|
||||
}
|
||||
for c in self.categories:
|
||||
|
|
Loading…
Reference in New Issue