Skip to content

Commit

Permalink
Controllers: Don't pass format param to db query
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 authored and nilmerg committed Sep 1, 2023
1 parent a125e6b commit 4323fc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/Cube/Web/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ protected function renderCube(): void
$cube->getPathLabel()
));

$this->params->shift('format');
$showSettings = $this->params->shift('showSettings');

$query = $cube->innerQuery();
Expand Down
1 change: 1 addition & 0 deletions library/Cube/Web/IdoController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function detailsAction(): void

protected function renderCube(): void
{
$this->params->shift('format');
$showSettings = $this->params->shift('showSettings');

$cube = $this->prepareCube();
Expand Down

0 comments on commit 4323fc8

Please sign in to comment.