SOLVED: Live search feature doesn't work with certain structures (eg tables)

Setting the ‘live search’ on a query loop doesn’t always respect the HTML structure of the elements.

Here’s a copy/paste of an HTML table built with div elements (with the tags changed to thead, tbody, th, tr, etc) - table built with bricks elements (copy to clipboard and paste into bricks) · GitHub

If you add that to a page, and then add a query loop to the tbody> tr in order to create new rows with the loop, when you activate live search and then use a search element to target that element, when the results come through it doesn’t respect the structure and instead the elements are just prepended outside of the table.

Hi David,
Thanks so much for your report, and sorry for the late reply!

I reproduced the issue and added it to our bug tracker.

Best regards,
timmse

Hi David,

We’ve fixed this issue in Bricks 1.9.8 beta, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any beta release, please do not use it on a production or live website. It is only meant for testing in a local or staging environment.