Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Flatten customFieldsData, trackedData fields in customer, company models #774

Closed
batamar opened this issue May 6, 2020 · 0 comments
Closed

Comments

@batamar
Copy link
Contributor

batamar commented May 6, 2020

Is your enhancement request related to a problem? Please describe.

Storing values in a format like following is creating too many mapping fields in elastic search

customFieldsData: {
   [field1Id]: "value1",
   [field2Id]: "value2",
   ...
}

Describe the solution you'd like
Store above info like following

customFieldsData: [
   { field: "field1", value: "value1" },
   { field: "field2", value: "value2" },
   ...
]

Additional context
Add any other context or screenshots about the enhancement request here.

@batamar batamar self-assigned this May 6, 2020
@batamar batamar changed the title Flatten customFieldsData, trackedData fields Flatten customFieldsData, trackedData fields in customer, company models May 6, 2020
batamar added a commit to erxes/erxes that referenced this issue May 6, 2020
batamar added a commit that referenced this issue May 6, 2020
batamar added a commit that referenced this issue May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant