Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion application/controllers/ServicesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,14 @@ public function gridAction()

$this->handleSearchRequest($query);

// Create problem toggle before shifting params. Otherwise, the toggle
// will redirect to the grid without the shifted params.
$problemToggle = $this->createProblemToggle();

$this->params->shift('page'); // Handled by PivotTable internally
$this->params->shift('limit'); // Handled by PivotTable internally
$flipped = $this->params->shift('flipped', false);

$problemToggle = $this->createProblemToggle();
$sortControl = $this->createSortControl($query, [
'service.display_name' => t('Service Name'),
'host.display_name' => t('Host Name'),
Expand Down
Loading