SearchKit - Fix field transformation UI to handle number 0
authorcolemanw <coleman@civicrm.org>
Sat, 4 Nov 2023 02:29:15 +0000 (22:29 -0400)
committercolemanw <coleman@civicrm.org>
Sat, 4 Nov 2023 02:31:22 +0000 (22:31 -0400)
commiteedaa7336355a7be82adf4c0c4a9f2c93fa0f5a9
tree1ffd2bafe170fb8ad6795b982a1973ad18b7d080
parent5a7b6fa01e10d2f0acf28a9f9f7c53545ba84d4e
SearchKit - Fix field transformation UI to handle number 0

This is the old number 0 is falsey bug.
To reproduce, add a field transformation such as if/else,
clear the field values and select numbers.
The number zero will be treated as empty and not work.
ext/search_kit/ang/crmSearchAdmin/crmSearchFunction.component.js