Page MenuHomePhabricator

Return milestone information in project.search
ClosedPublic

Authored by epriestley on Jan 8 2017, 7:32 PM.
Tags
None
Referenced Files
F15400063: D17153.id.diff
Mon, Mar 17, 9:27 AM
F15390560: D17153.id41257.diff
Sat, Mar 15, 6:19 AM
Unknown Object (File)
Sat, Feb 22, 4:24 AM
Unknown Object (File)
Fri, Feb 21, 3:01 PM
Unknown Object (File)
Jan 27 2025, 6:07 AM
Unknown Object (File)
Jan 25 2025, 1:48 PM
Unknown Object (File)
Jan 24 2025, 3:18 PM
Unknown Object (File)
Jan 22 2025, 9:42 PM
Subscribers
None

Details

Summary

Ref T12074.

  • project.search now returns milestones by default.
  • A new constraint, isMilestone, allows filtering to milestones, non-milestones, or both (API and web UI).
  • project.search now returns a milestone number for milestones, or null for non-milestones.
NOTE: Existing custom saved queries in projects which previously did not return milestones now will. I expect this to have little-to-no impact on users, and these queries are easy to correct, but I'll note this in changelogs.
Test Plan
  • Ran various queries with project.search and in the web UI, searching for milestones, non-milestones, and both.
  • Web UI default behavior (no milestones) is unchanged, but you can now get milestones if you want them.
  • Queried a milestone by ID/PHID via API.

Diff Detail

Repository
rP Phabricator
Branch
project1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15139
Build 19880: Run Core Tests
Build 19879: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 8 2017, 7:51 PM
This revision was automatically updated to reflect the committed changes.