Closed yingdi1 closed 3 years ago
you're right. it is silly. should be a simple enough bug fix but anyone using it with the current functionality would have their code broken if we change the behavior. For now you can consider price gte and lte as exclusionary filters. So it will exclude prices less than 0.1 and greater than 5
Why does it scan for
price less than or equal to 0.1
and at the same time it isgreater or equal to 5
? There shouldn NOT be such stock.But the result return a list of such stock.
I also check the code, it will only take price_lte only if it has price_gte. It is confusing to me.