summaryrefslogtreecommitdiffstats
path: root/app/model/pad.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/model/pad.php')
-rw-r--r--app/model/pad.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/model/pad.php b/app/model/pad.php
index e11a644..69f58e2 100644
--- a/app/model/pad.php
+++ b/app/model/pad.php
@@ -41,6 +41,11 @@ foreach ($stages as $s)
$issues = array_merge($issues, $i);
}
+/* this will include a 'just closed' issue on the main pad page, enabling it
+ * to be displayed via auto-modal */
+if (isset($_REQUEST['input']['issue']))
+ $issues[] = new issue($_REQUEST['input']['issue']);
+
$closed_issues = $pad->getClosedIssues_ordByClosed();
?>