Describe the bug
Using for example this shortcode [firestore collection_name='ranking' document_name='from-queries' display_fields='user_real_name,ie_engagement'] when the display_fields are all strings is ok, but in this case that ie_engagement is a number the output is an error:
"e.includes is not a function"
To Reproduce
Steps to reproduce the behavior:
Use the shortcode [firestore collection_name='ranking' document_name='from-queries' display_fields='user_real_name,ie_engagement']
Use a Document with Number fields (or other that are not String)
Set the display_fields paraemters with that Not-String fields
See error: "e.includes is not a function"
Expected behavior
A output as a normal string/number (in decimal numbers it would be great to be able to define the number of decimals)
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Plugin Version 2.0.0
Additional context
The database is about Instagram users, and the idea is get the data about the username indicated in the URL variable docId (it would possible change the name of this variable for my own, for example "user"?)
Describe the bug Using for example this shortcode [firestore collection_name='ranking' document_name='from-queries' display_fields='user_real_name,ie_engagement'] when the display_fields are all strings is ok, but in this case that ie_engagement is a number the output is an error: "e.includes is not a function"
To Reproduce Steps to reproduce the behavior:
Expected behavior A output as a normal string/number (in decimal numbers it would be great to be able to define the number of decimals)
Screenshots Sample: https://miposicionamientoweb.es/pruebas/?docId=rubenalonsoes
Desktop (please complete the following information):
Additional context The database is about Instagram users, and the idea is get the data about the username indicated in the URL variable docId (it would possible change the name of this variable for my own, for example "user"?)
Thanks!