Skip to content

Commit

Permalink
TTK-27023: Show events to users autopublisher (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina authored May 20, 2024
1 parent accafdd commit 91749a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Controller/PaellaRepositoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,14 @@ public function __construct(
*/
public function indexAction(Request $request, string $id): Response
{
if ($this->documentManager->getFilterCollection()->isEnabled('personal')) {
$this->documentManager->getFilterCollection()->disable('personal');
}

$multimediaObject = $this->getMultimediaObject($id);

$this->documentManager->getFilterCollection()->enable('personal');

if ($multimediaObject instanceof MultimediaObject) {
if ($multimediaObject->isLive()) {
$data = $this->liveManifest->create($multimediaObject);
Expand Down

0 comments on commit 91749a3

Please sign in to comment.