Improved site and network pages. Fixed various issues.

This commit is contained in:
2019-11-12 01:22:20 +01:00
parent 3c76d39301
commit 832e96ced1
118 changed files with 327 additions and 224 deletions

View File

@@ -11,7 +11,8 @@ async function curateRelease(release) {
knex('tags_associated')
.select('tags.name', 'tags.slug')
.where({ release_id: release.id })
.leftJoin('tags', 'tags.id', 'tags_associated.tag_id'),
.leftJoin('tags', 'tags.id', 'tags_associated.tag_id')
.orderBy('tags.priority', 'desc'),
knex('media')
.where({ target_id: release.id })
.orderBy('role'),