Skip to content

Commit

Permalink
Bugfix: assigning a display to a group from the Display page doesn't …
Browse files Browse the repository at this point in the history
…clear the cache (#2735)

relates to xibosignage/xibo#3481
  • Loading branch information
nadzpogi authored Sep 20, 2024
1 parent b27e95c commit 3b09d00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Controller/Display.php
Original file line number Diff line number Diff line change
Expand Up @@ -2167,6 +2167,9 @@ public function assignDisplayGroup(Request $request, Response $response, $id)
$displayGroup->save(['validate' => false]);
}

// Queue display to check for cache updates
$display->notify();

// Return
$this->getState()->hydrate([
'httpStatus' => 204,
Expand Down

0 comments on commit 3b09d00

Please sign in to comment.