DS-8408 - more lint problems

This commit is contained in:
aroman-arvo
2023-02-13 12:34:13 +01:00
parent e2668cdf97
commit 0121e6d895

View File

@@ -228,7 +228,7 @@ export class DSOSelectorComponent implements OnInit, OnDestroy {
*/
search(query: string, page: number, useCache: boolean = true): Observable<RemoteData<PaginatedList<SearchResult<DSpaceObject>>>> {
// default sort is only used when there is not query
var efectiveSort=query ? null : this.sort;
let efectiveSort = query ? null : this.sort;
return this.searchService.search(
new PaginatedSearchOptions({
query: query,