@esolve/ng-esolve-connect 0.136.0 → 0.137.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10450,6 +10450,22 @@ class EsolveCareersService {
10450
10450
  if (options.rows) {
10451
10451
  params = params.set('rows', options.rows);
10452
10452
  }
10453
+ if (options.sort) {
10454
+ const sort = options.sort;
10455
+ if (sort.field) {
10456
+ params = params.set('sort', sort.field);
10457
+ }
10458
+ if (sort.order) {
10459
+ params = params.set('order', sort.order);
10460
+ }
10461
+ }
10462
+ if (options.filters) {
10463
+ let filters = options.filters;
10464
+ if (!Array.isArray(filters)) {
10465
+ filters = EsolveFilterFactory.covertFromObj(filters);
10466
+ }
10467
+ params = EsolveFilterFactory.convertToHttpParams(filters, params);
10468
+ }
10453
10469
  }
10454
10470
  return this.getCareerRecords(params).pipe(map$1((records) => {
10455
10471
  const careers = [];