Compare commits
No commits in common. "40e613ed8d09bca57ef9298b0aecbbe8c84616e9" and "671e110d993d72f20209f80060df3eefa0b01cee" have entirely different histories.
40e613ed8d
...
671e110d99
|
@ -57,12 +57,7 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import config from 'config';
|
import config from 'config';
|
||||||
|
|
||||||
import {
|
import { defineProps, defineEmits, computed } from 'vue';
|
||||||
defineProps,
|
|
||||||
defineEmits,
|
|
||||||
computed,
|
|
||||||
} from 'vue';
|
|
||||||
|
|
||||||
import { useStore } from 'vuex';
|
import { useStore } from 'vuex';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
|
|
||||||
|
|
|
@ -506,7 +506,6 @@ const releasesFragment = `
|
||||||
]
|
]
|
||||||
effectiveDate: { lessThan: $before, greaterThan: $after }
|
effectiveDate: { lessThan: $before, greaterThan: $after }
|
||||||
showcased: { equalTo: true }
|
showcased: { equalTo: true }
|
||||||
batchShowcased: { in: $batchShowcased }
|
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
releases: nodes {
|
releases: nodes {
|
||||||
|
|
|
@ -24,8 +24,7 @@ function initReleasesActions(store, router) {
|
||||||
$after:Datetime = "1900-01-01 00:00:00",
|
$after:Datetime = "1900-01-01 00:00:00",
|
||||||
$before:Datetime = "2100-01-01 00:00:00",
|
$before:Datetime = "2100-01-01 00:00:00",
|
||||||
$orderBy: [ReleasesSummariesOrderBy!],
|
$orderBy: [ReleasesSummariesOrderBy!],
|
||||||
$exclude: [String!],
|
$exclude: [String!]
|
||||||
$batchShowcased: [Boolean!]
|
|
||||||
) {
|
) {
|
||||||
${releasesFragment}
|
${releasesFragment}
|
||||||
${batchFragment}
|
${batchFragment}
|
||||||
|
@ -39,7 +38,6 @@ function initReleasesActions(store, router) {
|
||||||
before,
|
before,
|
||||||
orderBy,
|
orderBy,
|
||||||
exclude: store.state.ui.tagFilter,
|
exclude: store.state.ui.tagFilter,
|
||||||
batchShowcased: range === 'new' ? true : [true, false],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -15,7 +15,6 @@ exports.up = async (knex) => {
|
||||||
AND (channels.showcased IS NOT false OR COALESCE(studios.showcased, false) = true)
|
AND (channels.showcased IS NOT false OR COALESCE(studios.showcased, false) = true)
|
||||||
AND (networks.showcased IS NOT false OR COALESCE(channels.showcased, false) = true OR COALESCE(studios.showcased, false) = true)
|
AND (networks.showcased IS NOT false OR COALESCE(channels.showcased, false) = true OR COALESCE(studios.showcased, false) = true)
|
||||||
AS showcased,
|
AS showcased,
|
||||||
batches.showcased AS batch_showcased,
|
|
||||||
releases.effective_date,
|
releases.effective_date,
|
||||||
releases.created_at,
|
releases.created_at,
|
||||||
array_agg(tags.slug ORDER BY tags.priority DESC) FILTER (WHERE tags.slug IS NOT NULL) AS tags
|
array_agg(tags.slug ORDER BY tags.priority DESC) FILTER (WHERE tags.slug IS NOT NULL) AS tags
|
||||||
|
@ -26,15 +25,14 @@ exports.up = async (knex) => {
|
||||||
LEFT JOIN entities AS studios ON studios.id = releases.studio_id
|
LEFT JOIN entities AS studios ON studios.id = releases.studio_id
|
||||||
LEFT JOIN entities AS networks ON networks.id = channels.parent_id
|
LEFT JOIN entities AS networks ON networks.id = channels.parent_id
|
||||||
LEFT JOIN entities AS parent_networks ON parent_networks.id = networks.parent_id
|
LEFT JOIN entities AS parent_networks ON parent_networks.id = networks.parent_id
|
||||||
LEFT JOIN batches ON batches.id = releases.updated_batch_id
|
GROUP BY releases.id, studios.showcased,
|
||||||
GROUP BY releases.id, studios.showcased, batches.showcased,
|
|
||||||
channels.showcased, channels.slug, channels.type,
|
channels.showcased, channels.slug, channels.type,
|
||||||
networks.showcased, networks.slug, networks.type,
|
networks.showcased, networks.slug, networks.type,
|
||||||
parent_networks.slug, parent_networks.type
|
parent_networks.slug, parent_networks.type
|
||||||
);
|
);
|
||||||
|
|
||||||
COMMENT ON MATERIALIZED VIEW releases_summaries IS E'@foreignKey (release_id) references releases (id)';
|
COMMENT ON MATERIALIZED VIEW releases_summaries IS E'@foreignKey (release_id) references releases (id)';
|
||||||
GRANT ALL ON releases_summaries TO :visitor;
|
GRANT ALL ON ALL TABLES IN SCHEMA public TO :visitor;
|
||||||
`, {
|
`, {
|
||||||
visitor: knex.raw(config.database.query.user),
|
visitor: knex.raw(config.database.query.user),
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.231.2",
|
"version": "1.231.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.231.2",
|
"version": "1.231.1",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.231.2",
|
"version": "1.231.1",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Reference in New Issue