I am querying invoices Collections filtering with specific number. However, it returns entire collection set. As you can see “number” is the field type and “0000054” is a valid entry. Can someone suggest what is wrong with this?
You forgot to bind the reprieved data to the repeater.
If you wish you can filter a dataset instead (but in that case, don’t run a query but use setFilter() )
Hi JD, I am no expert than the code I have written. Can you please let me know how to bind data to repeater(in code)?
In my code, I am getting 50 invoices. I have to iterate for next 50 and so on to get full list and filter myself. I dont want this to happen. I am looking for a query that just retrieves one record that matches the invoice number. If I get 1 for results . items . length it makes sense for me to look into data(I think this is what you meant by bind data to repeater?)
.
Realy strange! I tested it and it gave me → just the item i was searching for <—
You entered your own VALUES to test it, for example…
.eq('number','0000071')
Can you show your whole console-log of your result(s)? If you still get more then just one - - > open one of the results completely. Would be nice if you could do that in google-browser.