summaryrefslogtreecommitdiffstats
path: root/app/model/pad.php
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2021-10-18 21:05:27 -0400
committerMalfurious <m@lfurio.us>2021-10-18 21:05:27 -0400
commit2b5ea48b854e4441cc89666d5c1d5fb30f8453ea (patch)
tree2a1c1d14f5d92ab56df8bb9049b77a48b5b43c5b /app/model/pad.php
parent00f0fcc8895df860aaec0421385b6be7c8d8f7db (diff)
parenta2f522583ef35e009f1f0be7086fc511d52c2b36 (diff)
downloadscrott-2b5ea48b854e4441cc89666d5c1d5fb30f8453ea.tar.gz
scrott-2b5ea48b854e4441cc89666d5c1d5fb30f8453ea.zip
Merge branch 'issue-view-improvements'
Some changes pertaining to issue management workflow enhancement * issue-view-improvements: Keep issue modal open after closing an issue Automatically call-up issue modal for newly-opened issues Add stage/guid information to issue modal title bar Add additional info / controls to issueListItem
Diffstat (limited to '')
-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();
?>