aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/multiview.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/multiview.phtml b/template/multiview.phtml
index e07446b..4f8597f 100644
--- a/template/multiview.phtml
+++ b/template/multiview.phtml
@@ -7,7 +7,8 @@
<div class="row room-group">
<? foreach($rooms as $room): ?>
- <? foreach($room->getStreams() as $stream): ?>
+ <? foreach($room->getStreams() as $stream): ?>
+ <? if($selection && $stream->getSelection() != $selection) continue ?>
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-2">
<div class="cell">
<h2><?=h($stream->getDisplay())?></h2>