From 325b697fed92cb56eaa05841e03462b7b2f0c385 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Mon, 22 Oct 2018 05:08:37 -0400 Subject: pad: Render issue modals on pad view This logic instanciates an issue modal view for each issue to be accessable from a pad view. --- app/model/pad.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'app/model/pad.php') diff --git a/app/model/pad.php b/app/model/pad.php index d29b1f6..d7cfb23 100644 --- a/app/model/pad.php +++ b/app/model/pad.php @@ -18,4 +18,12 @@ $pad = getPageObj(); $stages = $pad->getStages(); $stages = array_reverse($stages); +$issues = array(); + +foreach ($stages as $s) +{ + $i = $s->getIssues_ordByDueByNumb(); + $issues = array_merge($issues, $i); +} + ?> -- cgit v1.2.3