mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 20:01:36 +02:00
Api: More missing changes from SearchMixin.remoteQuery() / static options from json file
This commit is contained in:
parent
e6274250bc
commit
11fcd35d26
@ -70,13 +70,14 @@ export class Et2LinkSearch extends Et2Select
|
|||||||
{
|
{
|
||||||
if(!this.query(request, this))
|
if(!this.query(request, this))
|
||||||
{
|
{
|
||||||
return Promise.resolve();
|
return Promise.resolve([]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return request.then((result) =>
|
return request.then((result) =>
|
||||||
{
|
{
|
||||||
const entries = cleanSelectOptions(result);
|
const entries = cleanSelectOptions(result);
|
||||||
this.processRemoteResults(entries);
|
this.processRemoteResults(entries);
|
||||||
|
return entries;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user