From 15af3e91e03943b42e86869e69509fc78e8decb7 Mon Sep 17 00:00:00 2001 From: Niels Simenon Date: Mon, 2 Mar 2020 04:15:47 +0100 Subject: [PATCH] Coalescing shoot ID in search. Added stop words for common TLDs. Sorting tags in search results. --- assets/js/releases/actions.js | 2 +- seeds/00_tags.js | 23 ++++++++++++++++++++--- src/releases.js | 2 +- traxxx.stop | 3 +++ 4 files changed, 25 insertions(+), 5 deletions(-) diff --git a/assets/js/releases/actions.js b/assets/js/releases/actions.js index b5970368..00ff8b69 100644 --- a/assets/js/releases/actions.js +++ b/assets/js/releases/actions.js @@ -63,7 +63,7 @@ function initReleasesActions(store, _router) { name } } - tags: releasesTags { + tags: releasesTags(orderBy: TAG_BY_TAG_ID__PRIORITY_DESC) { tag { id name diff --git a/seeds/00_tags.js b/seeds/00_tags.js index fbb88fc3..bcc4573d 100644 --- a/seeds/00_tags.js +++ b/seeds/00_tags.js @@ -137,6 +137,7 @@ const tags = [ name: 'ass eating', slug: 'ass-eating', group: 'oral', + priority: 6, }, { name: 'ball licking', @@ -195,7 +196,7 @@ const tags = [ { name: 'blowjob', slug: 'blowjob', - priority: 7, + priority: 5, group: 'oral', }, { @@ -298,7 +299,7 @@ const tags = [ { name: 'deepthroat', slug: 'deepthroat', - priority: 7, + priority: 6, group: 'oral', }, { @@ -422,6 +423,7 @@ const tags = [ { name: 'gaping', slug: 'gaping', + priority: 7, }, { name: 'gay', @@ -461,7 +463,7 @@ const tags = [ { name: 'interracial', slug: 'interracial', - priority: 9, + priority: 7, group: 'ethnicity', }, { @@ -713,6 +715,7 @@ const tags = [ name: 'swallowing', slug: 'swallowing', group: 'finish', + priority: 6, }, { name: 'tattoo', @@ -849,6 +852,10 @@ const aliases = [ name: 'ass licking', for: 'ass-eating', }, + { + name: 'asslicking', + for: 'ass-eating', + }, { name: 'ass fucking', for: 'anal', @@ -858,6 +865,11 @@ const aliases = [ for: 'ass-to-mouth', secondary: true, }, + { + name: 'a2m', + for: 'ass-to-mouth', + secondary: true, + }, { name: 'bald pussy', for: 'shaved', @@ -1432,6 +1444,10 @@ const aliases = [ for: 'mfm', secondary: true, }, + { + name: 'sex toy', + for: 'toys', + }, { name: 'standing doggystyle', for: 'standing-doggy-style', @@ -1463,6 +1479,7 @@ const aliases = [ { name: 'tattoos', for: 'tattoo', + secondary: true, }, { name: 'teens', diff --git a/src/releases.js b/src/releases.js index a2ab4d63..116b9685 100644 --- a/src/releases.js +++ b/src/releases.js @@ -382,7 +382,7 @@ async function updateReleasesSearch(releaseIds) { sites.slug || ' ' || networks.name || ' ' || networks.slug || ' ' || - releases.shoot_id || ' ' || + coalesce(releases.shoot_id, '') || ' ' || EXTRACT(YEAR FROM releases.date) || ' ' || CAST(EXTRACT(MONTH FROM releases.date) AS VARCHAR) || ' ' || CAST(EXTRACT(DAY FROM releases.date) AS VARCHAR) || ' ' || diff --git a/traxxx.stop b/traxxx.stop index 3d5d6b20..59df1216 100644 --- a/traxxx.stop +++ b/traxxx.stop @@ -133,6 +133,7 @@ now 540p 720p avi +com gagvid h264 hd @@ -141,6 +142,7 @@ ktr mkv mov mp4 +net rarbg rartv robots @@ -149,6 +151,7 @@ sd split tbs trashbin +tv web webrip wmv