MantisBT: master 2d88283d

Author Committer Branch Timestamp Parent
cproensa dregad master 2019-03-02 08:31 master 65464fb9
Affected Issues  0025515: Simple and Advanced filters are not consistent for handling sub-project issues
Changeset

Fix minor regression with PR 1464

When defining a standard filter that returns "any" issue, don't specify the
project id. Advanced and simple filters both works in the same way,
regarding inclusion of subprojects, as long as the project_id property
is not filled explicitly.

Prevous to PR1464, the api would include subprojects always, but after
the PR, it would have different behaviour if, for example, having
configured $g_view_filters = ADVANCED_ONLY

Fixes: 0025515

mod - core/filter_api.php Diff File