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
F19154251: D19127.id45827.diff
Dec 11 2025, 1:58 PM
F19127588: D19127.id45827.diff
Dec 10 2025, 3:28 AM
F19032249: D19127.diff
Nov 25 2025, 5:27 AM
F19031533: D19127.diff
Nov 25 2025, 1:39 AM
F18920241: D19127.id.diff
Nov 9 2025, 12:47 PM
F18905139: D19127.diff
Nov 8 2025, 1:03 PM
F18836897: D19127.diff
Oct 27 2025, 3:47 AM
F18756687: D19127.id.diff
Oct 5 2025, 12:44 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable