twenty icon indicating copy to clipboard operation
twenty copied to clipboard

Can't search for every type of record

Open Devessier opened this issue 5 months ago • 7 comments

Bug Description

I can't search on Workflow, Workflow Version and Workflow Run records.

https://github.com/user-attachments/assets/2b729806-143b-49e4-8978-71562a45de5e

Devessier avatar Jun 19 '25 08:06 Devessier

Hey @Devessier, I discovered that object workflow does not have a field with 'field.type === 'TS_VECTOR' , that's why this issue is arising. I want to work on this issue. Can you please assign it to me?

MohitAgrawal16 avatar Jun 23 '25 19:06 MohitAgrawal16

Hi @MohitAgrawal16, I first need to check with the core team on what we want to do here.

@thomtrp, do you have an idea why we didn't create a TS_VECTOR field at first?

Devessier avatar Jun 24 '25 16:06 Devessier

Any update regarding this? @Devessier, @thomtrp

MohitAgrawal16 avatar Jun 26 '25 15:06 MohitAgrawal16

Just discussed with @ijreilly. TS_VECTOR should be added to workflows, workflowVersions and workflowRuns.

Thank you for asking @MohitAgrawal16, assigning you to the issue! 💪

thomtrp avatar Jun 26 '25 16:06 thomtrp

@thomtrp, there are some standard field IDs for each object. What value should TS_VECTOR have for these objects?

MohitAgrawal16 avatar Jun 26 '25 17:06 MohitAgrawal16

Just generate a random uuid starting with 20202020-

thomtrp avatar Jun 27 '25 09:06 thomtrp

@thomtrp, @Devessier, please review the linked PR and tell me if any changes need to be made.

MohitAgrawal16 avatar Jun 30 '25 11:06 MohitAgrawal16