Merge polecat/Morsov: exclude pinned from bd ready
This commit is contained in:
@@ -12,8 +12,11 @@ import (
|
||||
// GetReadyWork returns issues with no open blockers
|
||||
// By default, shows both 'open' and 'in_progress' issues so epics/tasks
|
||||
// ready to close are visible (bd-165)
|
||||
// Excludes pinned issues which are persistent anchors, not actionable work (bd-92u)
|
||||
func (s *SQLiteStorage) GetReadyWork(ctx context.Context, filter types.WorkFilter) ([]*types.Issue, error) {
|
||||
whereClauses := []string{}
|
||||
whereClauses := []string{
|
||||
"i.pinned = 0", // Exclude pinned issues (bd-92u)
|
||||
}
|
||||
args := []interface{}{}
|
||||
|
||||
// Default to open OR in_progress if not specified (bd-165)
|
||||
|
||||
Reference in New Issue
Block a user