Handle no value options in filters (#11351)
Fixes #11323 - see description to reproduce The issue was that the filter was malformed for no value options: <img width="649" alt="Capture d’écran 2025-04-02 à 14 56 25" src="https://github.com/user-attachments/assets/5287c4f8-7eaf-4488-b692-4d7634236d3d" /> causing <img width="333" alt="Capture d’écran 2025-04-02 à 14 56 43" src="https://github.com/user-attachments/assets/aa1b7333-50da-4b7d-979b-70dab9a1ab41" /> after fix: <img width="653" alt="Capture d’écran 2025-04-02 à 14 39 56" src="https://github.com/user-attachments/assets/1777c068-7231-4e14-bc41-84ef7909cf10" />
This commit is contained in:
@ -3876,6 +3876,42 @@ export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
|
||||
label: "Work Policy",
|
||||
description: "Company's Work Policy"
|
||||
},
|
||||
{
|
||||
__typename: "Field",
|
||||
id: "c6dfcc2d-dc84-4553-94df-3b75cccee53c",
|
||||
type: "SELECT",
|
||||
name: "internalCompetitions",
|
||||
icon: "IconHome",
|
||||
isCustom: true,
|
||||
isActive: true,
|
||||
isSystem: false,
|
||||
isNullable: true,
|
||||
isUnique: false,
|
||||
createdAt: "2025-02-11T09:14:38.892Z",
|
||||
updatedAt: "2025-02-11T09:14:38.892Z",
|
||||
defaultValue: null,
|
||||
options: [
|
||||
{
|
||||
id: "ee1b741b-0359-4ffd-b866-506e7b9c0cd9",
|
||||
color: "green",
|
||||
label: "Best employy",
|
||||
value: "BEST_EMPLOYEE",
|
||||
position: 0
|
||||
},
|
||||
{
|
||||
id: "3b2ed882-ec07-43fd-96e6-0fca8669c1f5",
|
||||
color: "turquoise",
|
||||
label: "Ultimate debugger",
|
||||
value: "ULTIMATE_DEBUGGER",
|
||||
position: 1
|
||||
},
|
||||
],
|
||||
settings: null,
|
||||
isLabelSyncedWithName: false,
|
||||
relationDefinition: null,
|
||||
label: "Internal competitions",
|
||||
description: "Internal competitions"
|
||||
},
|
||||
{
|
||||
__typename: "Field",
|
||||
id: "8b1b88c0-a802-4c5d-8632-a4e343f3c8f1",
|
||||
|
||||
Reference in New Issue
Block a user