twentyhq / twenty

Building a modern alternative to Salesforce, powered by the community.
https://twenty.com
Other
17.84k stars 2.11k forks source link

Allow sort records using relation field #6891

Open martmull opened 1 month ago

martmull commented 1 month ago

Scope & Context

User voice

Hi, like the headline says I can't find a way to sort by company name on the People page, anyone got any tips on how to do so?

Current behavior

We cannot sort by relation, like sorting people by their company.name

Expected behavior

We can sort by relation, like sorting people by their company.name

Sandheep-OSC commented 1 month ago

I would like to take this up.

Faisal-imtiyaz123 commented 1 month ago

@martmull I would like to work.

martmull commented 1 month ago

@Faisal-imtiyaz123 you can work on it, thank you!

FelixMalfait commented 1 month ago

Very similar to https://github.com/twentyhq/twenty/issues/2443 ; this was not possible because of limitation on pg_graphql. This will become possible now that we've moved out of it but it will be a difficult task!