mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Api: More missing changes from SearchMixin.remoteQuery() / static options from json file
This commit is contained in:
parent
df9ec35704
commit
3aaf0b2b60
@ -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…
Reference in New Issue
Block a user