diff --git a/projects/msp-tools/bug-tracker/dashboard.html b/projects/msp-tools/bug-tracker/dashboard.html
index 175aa8f9..03cc08e1 100644
--- a/projects/msp-tools/bug-tracker/dashboard.html
+++ b/projects/msp-tools/bug-tracker/dashboard.html
@@ -253,9 +253,8 @@ async function loadLabels() {
async function loadIssues() {
allIssues = [];
- const states = showClosed ? ['open','closed'] : ['open'];
const fetches = ALL_REPOS.map(async repo => {
- for (const state of states) {
+ for (const state of ['open', 'closed']) {
let page=1;
while(true) {
try {
@@ -336,7 +335,8 @@ function getFiltered() {
const q = searchText.toLowerCase();
items = items.filter(i => i.title.toLowerCase().includes(q) || (i.body||'').toLowerCase().includes(q) || ('#'+i.number).includes(q));
}
- if (!showClosed) items = items.filter(i => i.state !== 'closed');
+ // showClosed controls list view; board view always shows done column
+ if (!showClosed && currentView === 'list') items = items.filter(i => i.state !== 'closed');
return items;
}
@@ -425,8 +425,8 @@ function renderToolbar() {
-