fixes to searchAfter
This commit is contained in:
parent
37acb230cf
commit
eee8f9c578
|
@ -31,7 +31,7 @@ export class LighthouseService {
|
|||
) {}
|
||||
|
||||
public searchLighthouseSources(filter: MedicalSourcesFilter): Observable<LighthouseSourceSearch> {
|
||||
if(filter.searchAfter){
|
||||
if((typeof filter.searchAfter === 'string' || filter.searchAfter instanceof String) && (filter.searchAfter as string).length > 0){
|
||||
filter.searchAfter = (filter.searchAfter as string).split(',')
|
||||
} else {
|
||||
filter.searchAfter = []
|
||||
|
|
Loading…
Reference in New Issue