tickera-angular-components 0.0.1-dev.95 → 0.0.1-dev.96

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.
@@ -2551,7 +2551,7 @@ class PerformanceService {
2551
2551
  constructor(apiService) {
2552
2552
  this.apiService = apiService;
2553
2553
  }
2554
- fetchPerformances({ showId, roomMapId, hallId, search, limit, }) {
2554
+ fetchPerformances({ showId, roomMapId, hallId, search, page, limit, }) {
2555
2555
  const queryParams = new URLSearchParams();
2556
2556
  if (showId)
2557
2557
  queryParams.append('show_id', showId.toString());
@@ -2561,8 +2561,10 @@ class PerformanceService {
2561
2561
  queryParams.append('hall_id', hallId.toString());
2562
2562
  if (search)
2563
2563
  queryParams.append('search', search);
2564
+ if (page)
2565
+ queryParams.append('page', page.toString());
2564
2566
  if (limit)
2565
- queryParams.append('search', limit.toString());
2567
+ queryParams.append('limit', limit.toString());
2566
2568
  const queryString = queryParams.toString();
2567
2569
  const apiRoute = `${PERFORMANCES_API_ROUTES.findAll}${queryString ? '?' + queryString : ''}`;
2568
2570
  return this.apiService.get(apiRoute);