Skip to content

Allow transforming nested fields.#35

Open
kueblboe wants to merge 3 commits intometeorhacks:masterfrom
kueblboe:master
Open

Allow transforming nested fields.#35
kueblboe wants to merge 3 commits intometeorhacks:masterfrom
kueblboe:master

Conversation

@kueblboe
Copy link
Contributor

I improved the transform function to accept nested fields separated by dots.

Example:
UserSearch = new SearchSource('users', ['profile.firstname', 'profile.lastname'], {keepHistory: 1000 * 60 * 5, localSearch: true})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant