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

No files matched your search

+1 -1
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'))