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)
Mon, Jan 30, 4:31 PM
Unknown Object (File)
Mon, Jan 30, 8:41 AM
Unknown Object (File)
Mon, Jan 23, 4:54 PM
Unknown Object (File)
Sun, Jan 22, 12:40 PM
Unknown Object (File)
Wed, Jan 11, 3:08 AM
Unknown Object (File)
Wed, Jan 11, 3:08 AM
Unknown Object (File)
Wed, Jan 11, 3:07 AM
Unknown Object (File)
Dec 24 2022, 5:23 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.