Compare commits
2 Commits
099296280c
...
caa6812bc2
| Author | SHA1 | Date | |
|---|---|---|---|
| caa6812bc2 | |||
| 91643ceac1 |
@@ -439,7 +439,7 @@ async function createAlert() {
|
||||
|
||||
async function searchActors() {
|
||||
const res = await get('/actors', {
|
||||
q: actorQuery.value,
|
||||
q: `${actorQuery.value}*`, // return partial matches
|
||||
limit: 10,
|
||||
});
|
||||
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "traxxx-web",
|
||||
"version": "0.19.3",
|
||||
"version": "0.19.4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "0.19.3",
|
||||
"version": "0.19.4",
|
||||
"dependencies": {
|
||||
"@brillout/json-serializer": "^0.5.8",
|
||||
"@dicebear/collection": "^7.0.5",
|
||||
|
||||
@@ -75,5 +75,5 @@
|
||||
"postcss-custom-media": "^10.0.2",
|
||||
"postcss-nesting": "^12.0.2"
|
||||
},
|
||||
"version": "0.19.3"
|
||||
"version": "0.19.4"
|
||||
}
|
||||
|
||||
@@ -29,8 +29,8 @@ export async function fetchEntities(options) {
|
||||
if (options.query) {
|
||||
builder.where((whereBuilder) => {
|
||||
whereBuilder
|
||||
.whereLike('name', options.query)
|
||||
.orWhereLike('slug', options.query);
|
||||
.whereILike('name', `%${options.query}%`)
|
||||
.orWhereILike('slug', `%${options.query}%`);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user