Skip to content

Don't index a field if it is null or blank#196

Open
JordanReiter wants to merge 1 commit into
coresmart:masterfrom
JordanReiter:patch-1
Open

Don't index a field if it is null or blank#196
JordanReiter wants to merge 1 commit into
coresmart:masterfrom
JordanReiter:patch-1

Conversation

@JordanReiter

Copy link
Copy Markdown
Contributor

Currently if the value for a field is null, attempting to index the field throws an error:

Uncaught TypeError: Cannot read property 'toLowerCase' of null
    at searchTokenizer

This fix ignores a field if it is null or empty.

Currently if the value for a field is null, attempting to index the field throws an error:

    Uncaught TypeError: Cannot read property 'toLowerCase' of null
        at searchTokenizer

This fix ignores a field if it is null or empty.
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