fix: bd ready now shows in_progress issues (#894)
The RPC server's handleReady() was explicitly setting Status to StatusOpen, which overrode the intended behavior where an empty Status field matches both 'open' and 'in_progress' issues. Removed the Status field assignment so it remains empty (zero value), allowing the SQLite storage layer to correctly return both statuses as documented in the help text. Fixes #5aml
This commit is contained in:
@@ -1610,7 +1610,7 @@ func (s *Server) handleReady(req *Request) Response {
|
||||
}
|
||||
|
||||
wf := types.WorkFilter{
|
||||
Status: types.StatusOpen,
|
||||
// Leave Status empty to get both 'open' and 'in_progress' (GH#5aml)
|
||||
Type: readyArgs.Type,
|
||||
Priority: readyArgs.Priority,
|
||||
Unassigned: readyArgs.Unassigned,
|
||||
|
||||
Reference in New Issue
Block a user