File tree Expand file tree Collapse file tree
frontend/src/lib/features Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 async function loadData () {
8484 try {
8585 loading = true ;
86- // In global view, load all iterations; in workspace view, filter by workspace
86+ // Global lists exclude local iterations; workspace lists include both scopes.
8787 const filters = isGlobalView
88- ? {}
88+ ? { is_global : true }
8989 : { workspace_id: workspaceId, include_global: true };
9090 const [iterationsData , typesData ] = await Promise .all ([
9191 api .iterations .getAll (filters),
Original file line number Diff line number Diff line change 120120 async function loadData () {
121121 try {
122122 // In workspace view, filter milestones by workspace_id and include global
123- const filters = isGlobalView ? {} : { workspace_id: workspaceId, include_global: true };
123+ const filters = isGlobalView ? { is_global : true } : { workspace_id: workspaceId, include_global: true };
124124 const [_ , milestones , ws ] = await Promise .all ([
125125 categoriesStore .init (),
126126 api .milestones .getAll (filters),
274274 showReleaseModal = false ;
275275 releasingMilestone = null ;
276276 // Refresh milestones to show updated status
277- const filters = isGlobalView ? {} : { workspace_id: workspaceId, include_global: true };
277+ const filters = isGlobalView ? { is_global : true } : { workspace_id: workspaceId, include_global: true };
278278 try {
279279 const milestones = await api .milestones .getAll (filters);
280280 milestonesStore .set (milestones || []);
You can’t perform that action at this time.
0 commit comments