Removed channel ID from Gamma update query to prevent duplicate scenes. Added sexuality tags with covers to overview.
This commit is contained in:
parent
03d96d4dec
commit
9b7879bff7
|
@ -50,6 +50,7 @@ const tagSlugsByCategory = {
|
|||
'facial',
|
||||
'creampie',
|
||||
'squirting',
|
||||
'transsexual',
|
||||
],
|
||||
appearance: [
|
||||
'asian',
|
||||
|
@ -64,6 +65,11 @@ const tagSlugsByCategory = {
|
|||
'tattoos',
|
||||
'piercings',
|
||||
],
|
||||
sexuality: [
|
||||
'gay',
|
||||
'bisexual',
|
||||
'transsexual',
|
||||
],
|
||||
oral: [
|
||||
'blowjob',
|
||||
'pussy-eating',
|
||||
|
@ -162,10 +168,18 @@ async function fetchTags() {
|
|||
|
||||
const tagsBySlug = tags.reduce((acc, tag) => ({ ...acc, [tag.slug]: tag }), {});
|
||||
|
||||
this.categories = Object.entries(tagSlugsByCategory).reduce((acc, [category, tagSlugs]) => ({
|
||||
this.categories = Object.entries(tagSlugsByCategory).reduce((acc, [category, tagSlugs]) => {
|
||||
const categoryTags = tagSlugs.map((tagSlug) => tagsBySlug[tagSlug]).filter(Boolean);
|
||||
|
||||
if (categoryTags.length === 0) {
|
||||
return acc;
|
||||
}
|
||||
|
||||
return {
|
||||
...acc,
|
||||
[category]: tagSlugs.map(tagSlug => tagsBySlug[tagSlug]),
|
||||
}), {});
|
||||
[category]: categoryTags,
|
||||
};
|
||||
}, {});
|
||||
}
|
||||
|
||||
async function searchTags() {
|
||||
|
@ -202,6 +216,7 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
$route: fetchTags,
|
||||
'$store.state.ui.tagFilter': fetchTags,
|
||||
},
|
||||
mounted,
|
||||
methods: {
|
||||
|
|
|
@ -210,9 +210,15 @@ function initTagsActions(store, _router) {
|
|||
query Tags(
|
||||
$slugs: [String!] = [],
|
||||
$limit: Int = 100
|
||||
$exclude: [String!]
|
||||
) {
|
||||
tags(
|
||||
filter: { slug: { in: $slugs } },
|
||||
filter: {
|
||||
slug: {
|
||||
in: $slugs
|
||||
notIn: $exclude
|
||||
}
|
||||
},
|
||||
first: $limit
|
||||
) {
|
||||
id
|
||||
|
@ -257,6 +263,7 @@ function initTagsActions(store, _router) {
|
|||
`, {
|
||||
slugs,
|
||||
limit,
|
||||
exclude: store.state.ui.tagFilter,
|
||||
});
|
||||
|
||||
return tags.map((tag) => curateTag(tag, store.state.ui.sfw));
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
|
@ -1983,6 +1983,14 @@ const aliases = [
|
|||
for: 'transsexual',
|
||||
secondary: true,
|
||||
},
|
||||
{
|
||||
name: 'shemale',
|
||||
for: 'transsexual',
|
||||
},
|
||||
{
|
||||
name: 'tranny',
|
||||
for: 'transsexual',
|
||||
},
|
||||
{
|
||||
name: 'ts',
|
||||
for: 'transsexual',
|
||||
|
|
|
@ -1023,6 +1023,7 @@ const tagMedia = [
|
|||
['teen', 1, 'Stalfra aka Precious', 'nubiles'],
|
||||
['trainbang', 1, 'Ria Sunn', 'private'],
|
||||
['trainbang', 0, 'Nicole Black in GIO971', 'legalporno'],
|
||||
['transsexual', 'kelly_silva_mel_almeida_brazilliantranssexuals', 'Kelly Silva and Mel Almeida', 'brazilliantranssexuals'],
|
||||
['tap', 4, 'Francys Belle in GIO1103', 'legalporno'],
|
||||
['tap', 'lisey_sweet_legalporno', 'Lisey Sweet in GIO816', 'legalporno'],
|
||||
['tap', 3, 'Julia Red in GIO1007', 'legalporno'],
|
||||
|
|
|
@ -631,7 +631,7 @@ async function fetchLatestApi(site, page = 1, preData, include, upcoming = false
|
|||
requests: [
|
||||
{
|
||||
indexName: 'all_scenes',
|
||||
params: `query=&hitsPerPage=36&maxValuesPerFacet=100&page=${page - 1}&facetFilters=[["lesbian:"],["bisex:"],["shemale:"],["upcoming:${upcoming ? 1 : 0}"]]&filters=sitename:${site.slug} OR channels.id:${site.slug}`,
|
||||
params: `query=&hitsPerPage=36&maxValuesPerFacet=100&page=${page - 1}&facetFilters=[["lesbian:"],["bisex:"],["shemale:"],["upcoming:${upcoming ? 1 : 0}"]]&filters=sitename:${site.slug}`, // OR channels.id:${site.slug}`,
|
||||
},
|
||||
],
|
||||
}, {
|
||||
|
|
Loading…
Reference in New Issue