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
Unknown Object (File)
Fri, Sep 23, 11:28 AM
Unknown Object (File)
Fri, Sep 16, 8:24 PM
Unknown Object (File)
Aug 15 2022, 7:37 PM
Unknown Object (File)
Aug 7 2022, 2:56 PM
Unknown Object (File)
Aug 5 2022, 7:40 AM
Unknown Object (File)
Aug 4 2022, 6:54 AM
Unknown Object (File)
Aug 3 2022, 9:24 AM
Unknown Object (File)
Aug 3 2022, 8:33 AM
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.