View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0020101||mantisbt||api soap||public||2015-09-11 05:21||2018-09-04 01:23|
|Priority||normal||Severity||minor||Reproducibility||unable to reproduce|
|Target Version||2.17.0||Fixed in Version||2.17.0|
|Summary||0020101: mc_filter_search_issues can't filter by date|
Use mc_filter_search_issues filter settings to date, but the result is not in accordance with the setting display
When using WSDL entity to implement mc_filter_search_issues, we set the date condition (2015/9/1~2015/9/10), but the result is not shown as we expect.
What do you expect to receive? Those dates filter on the date_submitted field.
I hope to get the data from 2015/09/01 to 2015/09/10.
To get the result with date filter, what else do I need to use/set up besides these parameters (Start_day,Start_month,Start_year,End_day,End_month,End_year)?
@rombert Looks like for dates to take effect in a filter, the filter_by_date flag has to be set. However, our FilterSearchData doesn't expose this field.
There are two options to fix this:
I would rather go with option 2.
Option 2 sounds good to me as well
MantisBT: master 6e178d8f
Committer: dregad Details Diff
|Fix filter by date for the soap api
In the soap endpoint “mc_filter_search_issues”, it is possible to
filter the search result by date. At least it is defined in the wsdl.
But as described in the issue 0020101, this parameter has no
Therefore handle the date parameters manually in the mc_filter_api,
so that it will be appended to the filter.
After this change it is possible to filter the search result by a
|mod - api/soap/mc_filter_api.php||Diff File|