Multiple masonry filters

I have 3 search querys I would like to link to a masonry repeat.


I have it working on one with no issues at all.

div class=“row” is=“dmx-masonry” id=“masonry1” columns-sm=“1” columns-md=“2” columns-lg=“4” columns-xl=“4” dmx-bind:repeat=“view_orders.data.repeat.where((query1[0].firstName.lowercase() || query1[0].surName.lowercase()), inp_filterName.value.lowercase(), ‘fuzzySearch’)”

What I need to be able to do if filter the above by either Customer Name or Product SSC or Manufacture as in the above picture.

I have tries multiple things like

div class=“row” is=“dmx-masonry” id=“masonry1” columns-sm=“1” columns-md=“2” columns-lg=“4” columns-xl=“4” dmx-bind:repeat=“view_orders.data.repeat.where((query1[0].firstName.lowercase() || query1[0].surName.lowercase()), inp_filterName.value.lowercase(), ‘fuzzySearch’) || view_orders.data.repeat.where((query1[0].firstName.lowercase() || query1[0].surName.lowercase()), inp_filterName.value.lowercase(), ‘fuzzySearch’)”

But it will not work, does anyone have any ideas about this, I’m pretty sure it can be done but for the life of me I cannot remember how.

Community Page
Last updated: