You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that requests_service.search() does not correctly handle some parameters including 'type' and 'status' to filter the search. Searching with these parameters has no effect, meaning that unwanted requests are returned.
Package version (if known): present in 4.1.2
Describe the bug
I noticed that requests_service.search() does not correctly handle some parameters including 'type' and 'status' to filter the search. Searching with these parameters has no effect, meaning that unwanted requests are returned.
Steps to Reproduce
In an running instance's flask shell -
status
parameter is also ignored in the same way.topic
andreciever
work as expected.Expected behavior
requests_search() should allow filtering on these parameters. Filtering by type is tested in invenio-communities (and probably elsewhere):
https://github.com/inveniosoftware/invenio-communities/blob/4d626f1c97e4487926d7e4ec7b820c6411a06342/tests/members/test_members_services.py#L288
However it looks to me like this test only passes because no other requests exist in the test enviroment.
The text was updated successfully, but these errors were encountered: