commit
07195b74a3
@ -130,10 +130,10 @@
|
|||||||
v-if="!ui.tree_select"
|
v-if="!ui.tree_select"
|
||||||
@change="genericSelectChanged"
|
@change="genericSelectChanged"
|
||||||
parent_variable="search_keywords"
|
parent_variable="search_keywords"
|
||||||
:initial_selection="search.keywords"
|
:initial_selection="search.search_keywords"
|
||||||
:model="Models.KEYWORD"
|
:model="Models.KEYWORD"
|
||||||
style="flex-grow: 1; flex-shrink: 1; flex-basis: 0"
|
style="flex-grow: 1; flex-shrink: 1; flex-basis: 0"
|
||||||
v-bind:placeholder="$t('Keywords')"
|
:placeholder="$t('Keywords')"
|
||||||
:limit="50"
|
:limit="50"
|
||||||
></generic-multiselect>
|
></generic-multiselect>
|
||||||
<b-input-group-append>
|
<b-input-group-append>
|
||||||
@ -170,10 +170,10 @@
|
|||||||
v-if="!ui.tree_select"
|
v-if="!ui.tree_select"
|
||||||
@change="genericSelectChanged"
|
@change="genericSelectChanged"
|
||||||
parent_variable="search_foods"
|
parent_variable="search_foods"
|
||||||
:initial_selection="search.foods"
|
:initial_selection="search.search_foods"
|
||||||
:model="Models.FOOD"
|
:model="Models.FOOD"
|
||||||
style="flex-grow: 1; flex-shrink: 1; flex-basis: 0"
|
style="flex-grow: 1; flex-shrink: 1; flex-basis: 0"
|
||||||
v-bind:placeholder="$t('Foods')"
|
:placeholder="$t('Foods')"
|
||||||
:limit="50"
|
:limit="50"
|
||||||
></generic-multiselect>
|
></generic-multiselect>
|
||||||
<b-input-group-append>
|
<b-input-group-append>
|
||||||
@ -438,8 +438,12 @@ export default {
|
|||||||
this.random_search = random
|
this.random_search = random
|
||||||
let params = {
|
let params = {
|
||||||
query: this.search.search_input,
|
query: this.search.search_input,
|
||||||
keywords: this.search.search_keywords,
|
keywords: this.search.search_keywords.map(function (A) {
|
||||||
foods: this.search.search_foods,
|
return A?.["id"] ?? A
|
||||||
|
}),
|
||||||
|
foods: this.search.search_foods.map(function (A) {
|
||||||
|
return A?.["id"] ?? A
|
||||||
|
}),
|
||||||
rating: this.search.search_ratings,
|
rating: this.search.search_ratings,
|
||||||
books: this.search.search_books.map(function (A) {
|
books: this.search.search_books.map(function (A) {
|
||||||
return A["id"]
|
return A["id"]
|
||||||
|
Loading…
Reference in New Issue
Block a user