SOLVED : Wix Data Query not Working

So the dataset field type is set to text now, well note that the user input for the query will be a text element too, so you are now searching using a text box for a text string of a number.

As stated in previous post…

How is your number stored in the dataset?
It only matches values of the same type. For example, a number value stored as a String type does not match the same number stored as a Number type.

So previously, your user input of text was trying to find a text string of a number, however your filed type was number so it would not be able to find it.

To change a number to type string so that you can use it with text you can use .toString.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/toString
https://www.w3schools.com/jsref/jsref_tostring_number.asp

To change a type string to number value so that you can use it as a number you can use .parseInt.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt
https://www.w3schools.com/jsref/jsref_parseint.asp