Compare commits
No commits in common. "0cbb9859458e6926559faac7988888930e6af4ba" and "85c6b581cb2de75651aaf4884e844d3cb1c8c769" have entirely different histories.
0cbb985945
...
85c6b581cb
|
@ -1,10 +1,7 @@
|
|||
<template>
|
||||
<div class="networks">
|
||||
<div class="content-inner">
|
||||
<SearchBar
|
||||
:placeholder="`Search ${channelCount} channels in ${entities.length} networks`"
|
||||
:eager="true"
|
||||
/>
|
||||
<SearchBar :placeholder="`Search ${channelCount} channels in ${entities.length} networks`" />
|
||||
|
||||
<span
|
||||
v-if="done && entities.length === 0"
|
||||
|
@ -17,7 +14,7 @@
|
|||
>
|
||||
<Entity
|
||||
v-for="entity in entities"
|
||||
:key="entity.parent ? `entity-tile-${entity.parent.slug}-${entity.slug}` : `entity-tile-${entity.slug}`"
|
||||
:key="`entity-tile-${entity.slug}`"
|
||||
:entity="entity"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
<template>
|
||||
<form
|
||||
class="search"
|
||||
@submit.prevent="() => search()"
|
||||
@submit.prevent="search"
|
||||
>
|
||||
<input
|
||||
v-model="query"
|
||||
:placeholder="placeholder || 'Search'"
|
||||
class="query"
|
||||
@input="() => search(true)"
|
||||
@input="search"
|
||||
>
|
||||
|
||||
<button
|
||||
|
@ -18,10 +18,8 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
function search(typing) {
|
||||
if (!typing || this.eager) {
|
||||
this.$router.replace({ query: { query: this.query || undefined } });
|
||||
}
|
||||
function search() {
|
||||
this.$router.replace({ query: { query: this.query || undefined } });
|
||||
}
|
||||
|
||||
function resetQuery() {
|
||||
|
@ -34,10 +32,6 @@ export default {
|
|||
type: String,
|
||||
default: null,
|
||||
},
|
||||
eager: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.198.7",
|
||||
"version": "1.198.6",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traxxx",
|
||||
"version": "1.198.7",
|
||||
"version": "1.198.6",
|
||||
"description": "All the latest porn releases in one place",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -450,7 +450,6 @@ async function storeMovies(movies) {
|
|||
const storedMovies = await bulkInsert('movies', curatedMovieEntries, ['entity_id', 'entry_id'], true);
|
||||
const moviesWithId = attachReleaseIds(movies, storedMovies);
|
||||
|
||||
await updateMovieSearch(moviesWithId.map(movie => movie.id));
|
||||
await associateReleaseMedia(moviesWithId, 'movie');
|
||||
|
||||
return moviesWithId;
|
||||
|
|
Loading…
Reference in New Issue