Homec4science

Improve implementation of ManiphestTaskQuery

Authored by epriestley <git@epriestley.com> on Oct 5 2012, 00:30.

Description

Improve implementation of ManiphestTaskQuery

Summary:
Currently, we have a single projectPHIDs field, and a separate flag which makes it act like AND or OR.

This is silly. Make two separate methods for setting AND vs OR projects. This also simplifies the implmentation.

This doesn't change the UI or any behavior (yet), it just makes the API more usable.

Test Plan: Loaded homepage, "All Projects" task view, verified queries made sense and returned correct results. Grepped for changed method name.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1610

Differential Revision: https://secure.phabricator.com/D3630

Details

Committed
epriestley <git@epriestley.com>Oct 5 2012, 00:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPH689c98c47c33: Update database.schema doc to include how to upgrade the schema
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH030726b144de: Improve implementation of ManiphestTaskQuery (authored by epriestley <git@epriestley.com>).Oct 5 2012, 00:30