frontend: sort by title
This commit is contained in:
parent
b838c79cdb
commit
5efcee12a9
@ -82,7 +82,7 @@ $(document).ready(async () => {
|
||||
url: backend_api + 'list',
|
||||
timeout: 1000,
|
||||
});
|
||||
loadAll(resp.tikettes);
|
||||
loadAll(resp.tikettes.sort((a, b) => (a.title < b.title) ? -1 : 1));
|
||||
} catch(e) {
|
||||
const appbody = $("#appbody");
|
||||
appbody.append(`<li>Could not reach backend server`);
|
||||
|
Loading…
Reference in New Issue
Block a user