MantisBT: master a9cd4cf6

Author Committer Branch Timestamp Parent
cproensa vboctor master 2019-02-13 13:32 master 66a60cd2
Affected Issues  0012261: Cannot filter by versions of parent project when child project selected
Changeset

Evaluate versions for multiple projects

  • Make version_get_all_rows() evaluate mutiple projects, when we want to
    get all versions provided by a group of projects. Including parent
    projects if version inheritance is enabled.

  • Make version_should_show_product_version() evaluate multiple
    projects, as this conditions is needed in a context for several
    projects. Eg: filters, bug-action-group, ...

  • Make print_version_option_list() evaluate multiple projects. And
    remove the functionality for including version from subprojects.

  • Including subproject versions in print_version_option_list() is now
    a task for the caller, by passing the exact list of projects for which
    versions are needed. This project list is managed directly by the
    filter_api and the filter specific logic.

Fixes: 0012261

mod - bug_actiongroup_page.php Diff File
mod - core/filter_form_api.php Diff File
mod - core/print_api.php Diff File
mod - core/version_api.php Diff File