Add sort feature for Links type (#6503)

Closes https://github.com/twentyhq/twenty/issues/5741

Filtering was already working.

I just added the required logic in the frontend to allow sorting by
primary link url (because label can be empty)
This commit is contained in:
Lucas Bordeau
2024-08-02 11:10:54 +02:00
committed by GitHub
parent f0ca3439a8
commit 68120d529c
2 changed files with 10 additions and 0 deletions

View File

@ -12,4 +12,5 @@ export const SORTABLE_FIELD_METADATA_TYPES = [
FieldMetadataType.FullName,
FieldMetadataType.Rating,
FieldMetadataType.Currency,
FieldMetadataType.Links,
];