Filter repeat in masonry

In theory this should work to filter 2 items in the masonry repeat.

<div class="row" is="dmx-masonry" id="masonry1" dmx-bind:repeat="view_members.data.repeat.where(`member_name.lowercase()`, inp_filter.value.lowercase(), 'startsWith').where(`member_surname.lowercase()`, inp_filter.value.lowercase(), 'startsWith')" columns="1" columns-sm="1" columns-md="2" columns-lg="4" columns-xl="6">

However for some reason it is not working on either first name or surname.

If I use

<div class="row" is="dmx-masonry" id="masonry1" dmx-`bind:repeat="view_members.data.repeat.where(`member_name.lowercase()`, inp_filter.value.lowercase(), 'startsWith')" columns="1" columns-sm="1" columns-md="2" columns-lg="4" columns-xl="6">

Then works but only on the first name

Does anyone have any idea where I am going wrong with this ?

Community Page
Last updated: