Issue Grid
 Batch
This commit is contained in:
tanshu
2020-05-12 11:53:20 +05:30
parent 8dcda9cb56
commit de4d248de7
23 changed files with 100 additions and 61 deletions

View File

@ -15,7 +15,7 @@ export class BatchService {
}
autocomplete(date: string, term: string): Observable<Batch[]> {
const options = {params: new HttpParams().set('t', term).set('d', date)};
const options = {params: new HttpParams().set('q', term).set('d', date)};
return <Observable<Batch[]>>this.http.get<Batch[]>(url, options)
.pipe(
catchError(this.log.handleError(serviceName, 'autocomplete'))