CAPEv2
CAPEv2 copied to clipboard
Can't search by "tags_tasks" through the API
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [x] I am running the latest version
- [x] I did read the README!
- [x] I checked the documentation and found no answer
- [x] I checked to make sure that this issue has not already been filed
- [x] I'm reporting the issue to the correct repository (for multi-repository projects)
- [x] I have read and checked all configs (with all optional parts)
Expected Behavior
When I search through the GUI with tags_tasks:sometexttag I get the related tasks. I was expecting to get the same behavior posting {"option": "tags_tasks", "argument": "sometextag"} to /apiv2/tasks/extendedsearch/.
Additionally, I was expecting to get some 4xx status code in a error response.
Current Behavior
I'm getting a Not all values are integers error (with a 200 status code) raised from:
https://github.com/kevoreilly/CAPEv2/blob/846b2a295b6f660387d6631428c3bf82096b3e9d/web/apiv2/views.py#L753
Not sure if it's a bug or I'm misunderstanding how "extended search" works.