Using range component for all actor range filters.

This commit is contained in:
DebaucheryLibrarian
2021-03-03 22:23:46 +01:00
parent 5c6b5a0668
commit 4a963885bc
4 changed files with 68 additions and 140 deletions

View File

@@ -1,8 +1,9 @@
import config from 'config';
import dayjs from 'dayjs';
import { graphql, get } from '../api';
import { releaseFields, getIncludedEntities, getIncludedActors } from '../fragments';
import { curateActor, curateRelease } from '../curate';
import dayjs from 'dayjs';
import getDateRange from '../get-date-range';
function initActorActions(store, router) {
@@ -300,8 +301,6 @@ function initActorActions(store, router) {
const weightFilter = weight ? `weight: { greaterThanOrEqualTo: ${weight[0]}, lessThanOrEqualTo: ${weight[1]} }` : '';
const cupFilter = boobSize ? `cup: { greaterThanOrEqualTo: "${boobSize[0]}", lessThanOrEqualTo: "${boobSize[1]}" }` : '';
console.log(ageFilter);
const { connection: { actors, totalCount } } = await graphql(`
query Actors(
$limit: Int,