Isotope Search & Filter + Webflow CMS

I was able to get this working and its awesome! For one application I am struggling to set a filter on page load for a designated collection category and not have all the collection items appear on load.

I replaced this from // init Isotope:
filter: function() { var $this = $(this); var searchResult = qsRegex ? $this.text().match( qsRegex ) : true; var buttonResult = buttonFilter ? $this.is( buttonFilter ) : true; return searchResult && buttonResult; }

With:
filter: '.category-item'

And that partly worked by filtering the collection by the desired category, but it eliminated the function of the other buttons and search.