Compare commits
2 Commits
68f15d4f74
...
d8d2ee6785
| Author | SHA1 | Date | |
|---|---|---|---|
| d8d2ee6785 | |||
| 77b9acea32 |
@@ -8,7 +8,7 @@
|
|||||||
type="search"
|
type="search"
|
||||||
placeholder="Search actors"
|
placeholder="Search actors"
|
||||||
class="input search"
|
class="input search"
|
||||||
@keydown.enter="search"
|
@search="search"
|
||||||
>
|
>
|
||||||
|
|
||||||
<Icon
|
<Icon
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
type="search"
|
type="search"
|
||||||
placeholder="Search scenes"
|
placeholder="Search scenes"
|
||||||
class="search input"
|
class="search input"
|
||||||
@keydown.enter="search"
|
@search="search"
|
||||||
>
|
>
|
||||||
|
|
||||||
<Icon
|
<Icon
|
||||||
|
|||||||
@@ -66,9 +66,10 @@ function toggleTag(tag, isChecked) {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.dialog-body {
|
.dialog-body {
|
||||||
padding: 1rem;
|
|
||||||
width: 30rem;
|
width: 30rem;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 1rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx-web",
|
"name": "traxxx-web",
|
||||||
"version": "0.42.1",
|
"version": "0.42.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.42.1",
|
"version": "0.42.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@brillout/json-serializer": "^0.5.8",
|
"@brillout/json-serializer": "^0.5.8",
|
||||||
"@dicebear/collection": "^7.0.5",
|
"@dicebear/collection": "^7.0.5",
|
||||||
|
|||||||
@@ -87,7 +87,7 @@
|
|||||||
"overrides": {
|
"overrides": {
|
||||||
"vite": "$vite"
|
"vite": "$vite"
|
||||||
},
|
},
|
||||||
"version": "0.42.1",
|
"version": "0.42.2",
|
||||||
"imports": {
|
"imports": {
|
||||||
"#/*": "./*.js"
|
"#/*": "./*.js"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
Found {{ sceneTotal }} {{ sceneTotal > 1 ? 'scenes' : 'scene' }}
|
Found {{ sceneTotal }} {{ sceneTotal > 1 ? 'scenes' : 'scene' }}
|
||||||
|
|
||||||
<a
|
<a
|
||||||
:href="`/updates/results/?q=${query}`"
|
:href="`/scenes/results/?q=${query}`"
|
||||||
class="link"
|
class="link"
|
||||||
>Full scene results</a>
|
>Full scene results</a>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ export async function fetchEntities(options = {}) {
|
|||||||
.where((subBuilder) => {
|
.where((subBuilder) => {
|
||||||
subBuilder
|
subBuilder
|
||||||
.whereILike('entities.name', `%${options.query}%`)
|
.whereILike('entities.name', `%${options.query}%`)
|
||||||
.orWhereILike('entities.slug', `%${options.query}%`);
|
.orWhereILike('entities.slug', `%${options.query}%`)
|
||||||
|
.orWhereILike(knex.raw('array_to_string(entities.alias, \',\', \'*\')'), `%${options.query}%`);
|
||||||
})
|
})
|
||||||
.whereNot('entities.type', 'info');
|
.whereNot('entities.type', 'info');
|
||||||
});
|
});
|
||||||
|
|||||||
2
static
2
static
Submodule static updated: 9b190cb9c7...c3a287bfae
Reference in New Issue
Block a user