Page MenuHomePhabricator

Make queries for Project "X" mean "X, or any subproject of X"
ClosedPublic

Authored by epriestley on Dec 29 2015, 2:59 PM.
Tags
None
Referenced Files
F12857522: D14910.id.diff
Fri, Mar 29, 10:37 AM
F12845804: D14910.id36035.diff
Fri, Mar 29, 12:33 AM
Unknown Object (File)
Thu, Mar 21, 11:16 AM
Unknown Object (File)
Thu, Mar 21, 4:16 AM
Unknown Object (File)
Tue, Mar 5, 3:49 PM
Unknown Object (File)
Tue, Mar 5, 3:49 PM
Unknown Object (File)
Tue, Mar 5, 3:49 PM
Unknown Object (File)
Feb 8 2024, 5:34 PM
Subscribers
None

Details

Summary

Ref T10010. I think this is the desired/expected default behavior (e.g., searching for "Maniphest" should find tasks in any subproject or sprint of that project).

I'll probably add an "exact(...)" function later to mean "only the Maniphest superproject, exactly, not any of its children".

Test Plan
  • Added and executed unit tests.
  • Ran various queries from the web UI.
  • Got sensible-seeming results.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make queries for Project "X" mean "X, and any subproject of X".
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
epriestley retitled this revision from Make queries for Project "X" mean "X, and any subproject of X" to Make queries for Project "X" mean "X, or any subproject of X".Dec 29 2015, 3:02 PM
epriestley updated this object.

them test cases got me like

itsawesome

chad edited edge metadata.
This revision is now accepted and ready to land.Dec 29 2015, 5:04 PM
This revision was automatically updated to reflect the committed changes.