Compare commits

..

No commits in common. "40e613ed8d09bca57ef9298b0aecbbe8c84616e9" and "671e110d993d72f20209f80060df3eefa0b01cee" have entirely different histories.

6 changed files with 7 additions and 17 deletions

View File

@ -57,12 +57,7 @@
<script setup>
import config from 'config';
import {
defineProps,
defineEmits,
computed,
} from 'vue';
import { defineProps, defineEmits, computed } from 'vue';
import { useStore } from 'vuex';
import { useRouter } from 'vue-router';

View File

@ -506,7 +506,6 @@ const releasesFragment = `
]
effectiveDate: { lessThan: $before, greaterThan: $after }
showcased: { equalTo: true }
batchShowcased: { in: $batchShowcased }
}
) {
releases: nodes {

View File

@ -24,8 +24,7 @@ function initReleasesActions(store, router) {
$after:Datetime = "1900-01-01 00:00:00",
$before:Datetime = "2100-01-01 00:00:00",
$orderBy: [ReleasesSummariesOrderBy!],
$exclude: [String!],
$batchShowcased: [Boolean!]
$exclude: [String!]
) {
${releasesFragment}
${batchFragment}
@ -39,7 +38,6 @@ function initReleasesActions(store, router) {
before,
orderBy,
exclude: store.state.ui.tagFilter,
batchShowcased: range === 'new' ? true : [true, false],
});
return {

View File

@ -15,7 +15,6 @@ exports.up = async (knex) => {
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)
AS showcased,
batches.showcased AS batch_showcased,
releases.effective_date,
releases.created_at,
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 networks ON networks.id = channels.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, batches.showcased,
GROUP BY releases.id, studios.showcased,
channels.showcased, channels.slug, channels.type,
networks.showcased, networks.slug, networks.type,
parent_networks.slug, parent_networks.type
);
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),
});

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.231.2",
"version": "1.231.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.231.2",
"version": "1.231.1",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.231.2",
"version": "1.231.1",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {