Sort tags by name on the admin page
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
dc5c7d2b04
commit
52b4606d08
|
@ -153,6 +153,12 @@
|
|||
},
|
||||
escapeMarkup: function(m) {
|
||||
return m;
|
||||
},
|
||||
sortResults: function(results) {
|
||||
results.sort(function(a, b) {
|
||||
return OC.Util.naturalSortCompare(a.get('name'), b.get('name'));
|
||||
});
|
||||
return results;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue