From a239a5c593661e7371f850bd26289c6b9f99c69e Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Fri, 25 Feb 2022 00:00:18 +0100 Subject: [PATCH] Fixed entity scenes function for studios. Added triple anal tag alias. --- assets/js/entities/actions.js | 2 +- migrations/20211030162955_entity_scenes.js | 7 ++++++- seeds/00_tags.js | 12 ++++++++++-- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/assets/js/entities/actions.js b/assets/js/entities/actions.js index 0db4ae86..d5ab782a 100644 --- a/assets/js/entities/actions.js +++ b/assets/js/entities/actions.js @@ -87,7 +87,7 @@ function initEntitiesActions(store, router) { or: [ { date: { - isNull: ${entityType === 'channel'} + isNull: ${entityType !== 'network'} } } { diff --git a/migrations/20211030162955_entity_scenes.js b/migrations/20211030162955_entity_scenes.js index af72175e..ef0d442c 100644 --- a/migrations/20211030162955_entity_scenes.js +++ b/migrations/20211030162955_entity_scenes.js @@ -13,7 +13,12 @@ exports.up = async (knex) => knex.raw(` ) SELECT releases FROM releases - INNER JOIN children ON children.id = releases.entity_id; + INNER JOIN children ON children.id = releases.entity_id + + UNION + + SELECT releases FROM releases + INNER JOIN children ON children.id = releases.studio_id; $$ LANGUAGE SQL STABLE; COMMENT ON FUNCTION entities_scenes IS E'@sortable'; diff --git a/seeds/00_tags.js b/seeds/00_tags.js index 2bf231be..e31e117c 100644 --- a/seeds/00_tags.js +++ b/seeds/00_tags.js @@ -392,14 +392,14 @@ const tags = [ name: 'triple anal', slug: 'tap', description: 'Getting fucked in the ass by not one, two, but *three* cocks at the same time.', - priority: 7, + priority: 8, group: 'penetration', }, { name: 'triple vaginal', slug: 'tvp', description: 'Getting fucked in the pussy by *three* cocks at the same time.', - priority: 7, + priority: 8, group: 'penetration', }, { @@ -1944,6 +1944,10 @@ const aliases = [ name: 'squirt', for: 'squirting', }, + { + name: 'tap', + for: 'tap', + }, { name: 'tattoo', for: 'tattoos', @@ -1983,6 +1987,10 @@ const aliases = [ for: 'transsexual', secondary: true, }, + { + name: 'triple anal (tap)', + for: 'tap', + }, { name: 'shemale', for: 'transsexual',