Page MenuHomePhabricator

Support "Any Value" and "No Value" search constraints for datasource Custom Fields
ClosedPublic

Authored by epriestley on Feb 22 2018, 8:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 12:47 PM
Unknown Object (File)
Tue, Nov 19, 3:48 AM
Unknown Object (File)
Fri, Nov 15, 11:12 AM
Unknown Object (File)
Mon, Nov 11, 5:45 AM
Unknown Object (File)
Sun, Nov 10, 9:56 PM
Unknown Object (File)
Thu, Nov 7, 7:35 AM
Unknown Object (File)
Fri, Nov 1, 8:37 PM
Unknown Object (File)
Thu, Oct 31, 6:43 AM
Subscribers
None

Details

Summary

Depends on D19126. Ref T13090. For datasource custom fields, this proxies the datasource and provides "none()" and "any()" functions to allow you to search for objects with no values or any values.

Test Plan
  • Created a custom "Owning Group" field in Maniphest using a Projects datasource.
  • For a task with no owner assigned, searched for "none()" (hit) and "any()" (miss).
  • Assigned the task to an owning project.
  • Searched for "none()" (miss), "any()" (hit), the project it is now a member of (hit) and some random other project (miss).

Diff Detail

Repository
rP Phabricator
Branch
datasource2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 19636
Build 26586: Run Core Tests
Build 26585: arc lint + arc unit