Filter by price range


I hope you can help me because I’m going crazy :frowning:

I need to show the #itemsDataset images filtered but I have a problem with the price range filter. The prices of the products are in #dataset1, where they are referenced to #itemsDataset

I have this code:

  .ge('price', 0)
  .le('price', 400)
  .then(results => {
    let itemsIds = => item._id);
    let filter = wixData.filter().eq('_id', itemsIds);
    return wixData.query('Items').setFilter(filter).find();
  .then(items => {
  .catch(err => {