Skip to content

Commit

Permalink
Add hasBasketSupport for TimePeriods (#2543)
Browse files Browse the repository at this point in the history
This adds the missing "hasBasketSupport" for TimePeriodController which
allows to add the TimePeriod to specific baskets.
  • Loading branch information
lippserd authored Nov 7, 2024
2 parents 853efc8 + 1835661 commit 5daa3a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions application/controllers/TimeperiodController.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ public function rangesAction()
$this->content()->add($form->handleRequest());
IcingaTimePeriodRangeTable::load($object)->renderTo($this);
}

protected function hasBasketSupport()
{
return true;
}
}

0 comments on commit 5daa3a8

Please sign in to comment.