fix
This commit is contained in:
parent
2c33ddc060
commit
5371b2b4b7
1 changed files with 1 additions and 1 deletions
|
@ -1945,7 +1945,7 @@ const app = new Vue({
|
||||||
})
|
})
|
||||||
).data.results;
|
).data.results;
|
||||||
let shints = hints ? hints.suggestions : [];
|
let shints = hints ? hints.suggestions : [];
|
||||||
for (item in shints){
|
for (let item in shints){
|
||||||
if ((shints[item]?.displayTerm ?? "").includes("?fields[")){
|
if ((shints[item]?.displayTerm ?? "").includes("?fields[")){
|
||||||
shints[item].displayTerm = shints[item].searchTerm = shints[item].displayTerm.split('?fields[')[0]
|
shints[item].displayTerm = shints[item].searchTerm = shints[item].displayTerm.split('?fields[')[0]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue