Skip to content

Commit

Permalink
fixes to searchAfter
Browse files Browse the repository at this point in the history
  • Loading branch information
AnalogJ committed Nov 9, 2023
1 parent 37acb23 commit eee8f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/services/lighthouse.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit eee8f9c

Please sign in to comment.