mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
refactor: enable full sort capabilites on search
This commit is contained in:
committed by
Jovan Krunić
parent
03084b1c96
commit
a1bf950c88
@@ -98,7 +98,7 @@ export class SearchPageComponent implements OnInit, OnDestroy {
|
||||
/**
|
||||
* Api query sorting
|
||||
*/
|
||||
sortQuery: SCSearchSort | undefined;
|
||||
sortQuery: SCSearchSort[] | undefined;
|
||||
|
||||
/**
|
||||
* Array of all subscriptions to Observables
|
||||
@@ -148,7 +148,7 @@ export class SearchPageComponent implements OnInit, OnDestroy {
|
||||
|
||||
if (this.sortQuery) {
|
||||
// add query sorting
|
||||
searchOptions.sort = [this.sortQuery];
|
||||
searchOptions.sort = this.sortQuery;
|
||||
}
|
||||
|
||||
for (const filter of [this.forcedFilter, this.filterQuery]) {
|
||||
|
||||
Reference in New Issue
Block a user