Compare commits
No commits in common. "edb4be379f8f36e954ec9a9fa96f91fcd74a5cfc" and "fc5a0d209cdf6f792555bf91d245beffa4c2c895" have entirely different histories.
edb4be379f
...
fc5a0d209c
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "traxxx-web",
|
||||
"version": "0.42.15",
|
||||
"version": "0.42.14",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.42.15",
|
||||
"version": "0.42.14",
|
||||
"dependencies": {
|
||||
"@brillout/json-serializer": "^0.5.8",
|
||||
"@dicebear/collection": "^7.0.5",
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
"overrides": {
|
||||
"vite": "$vite"
|
||||
},
|
||||
"version": "0.42.15",
|
||||
"version": "0.42.14",
|
||||
"imports": {
|
||||
"#/*": "./*.js"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -194,14 +194,13 @@ export async function fetchScenesById(sceneIds, { reqUser, ...context } = {}) {
|
|||
'networks.name as network_name',
|
||||
'networks.type as network_type',
|
||||
'networks.has_logo as network_has_logo',
|
||||
knex.raw('row_to_json(coalesce(channel_affiliates, network_affiliates)) as affiliate'),
|
||||
knex.raw('row_to_json(affiliates) as affiliate'),
|
||||
)
|
||||
.whereIn('releases.id', sceneIds)
|
||||
.leftJoin('entities as channels', 'channels.id', 'releases.entity_id')
|
||||
.leftJoin('entities as networks', 'networks.id', 'channels.parent_id')
|
||||
.leftJoin('affiliates as channel_affiliates', 'channel_affiliates.entity_id', 'channels.id')
|
||||
.leftJoin('affiliates as network_affiliates', 'network_affiliates.entity_id', 'networks.id')
|
||||
.groupBy('channels.id', 'networks.id', 'channel_affiliates.id', 'network_affiliates.id'),
|
||||
.leftJoin('affiliates', knex.raw('affiliates.entity_id in (channels.id, networks.id)'))
|
||||
.groupBy('channels.id', 'networks.id', 'affiliates.id'),
|
||||
studios: knex('releases')
|
||||
.whereIn('releases.id', sceneIds)
|
||||
.leftJoin('entities as studios', 'studios.id', 'releases.studio_id'),
|
||||
|
|
|
|||
2
static
2
static
|
|
@ -1 +1 @@
|
|||
Subproject commit 069fc048b6a8a00d898d2593f9375c50b45a828a
|
||||
Subproject commit 3df11850ec6038c0919f6eaedb83bc8312fa8e07
|
||||
Loading…
Reference in New Issue