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)
Mon, Apr 1, 2:26 PM
Unknown Object (File)
Feb 9 2024, 1:58 PM
Unknown Object (File)
Feb 3 2024, 8:38 PM
Unknown Object (File)
Jan 25 2024, 10:39 AM
Unknown Object (File)
Jan 6 2024, 1:59 PM
Unknown Object (File)
Jan 5 2024, 1:37 PM
Unknown Object (File)
Dec 21 2023, 7:27 AM
Unknown Object (File)
Dec 19 2023, 6:10 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