httpd: Allow fetching of patches or issues without defining status
Renames the state query variable into status since we define it as
e.g. status: "draft"
And we allow consumers to get all the issues without querying for a specific status.
Renames the state query variable into status since we define it as
e.g. status: "draft"
And we allow consumers to get all the issues without querying for a specific status.
Rebase and use cache filtering methods
Fix issue list_by_status db statement
Rename state query variable to status, and add issue list_by_status test
Test listing of open and closed issue lists in cache
Changes:
- Introduce Status type for issue filtering by status
- Clean up test code
LGTM