fix tag order
This commit is contained in:
parent
2e013317a5
commit
1262b12ee4
@ -101,7 +101,8 @@ export default new class {
|
||||
.select("tags.id", "tags.tag", "user.user")
|
||||
.leftJoin("tags", "tags.id", "tags_assign.tag_id")
|
||||
.leftJoin("user", "user.id", "tags_assign.user_id")
|
||||
.where("tags_assign.item_id", itemid);
|
||||
.where("tags_assign.item_id", itemid)
|
||||
.orderBy("tags.id", "asc");
|
||||
for(let t = 0; t < tags.length; t++) {
|
||||
if(tags[t].tag.startsWith(">"))
|
||||
tags[t].badge = "badge-greentext badge-light";
|
||||
|
Loading…
Reference in New Issue
Block a user