jQuery expand collapsible list view on filter

I have several collapsed listviews. These can be filtered by an input field. At the moment, they're all collapsed and need to be opened individually after filtering. I'd like filtering to open them automatically. My question is very similar to this one here, but specifically I'm filtering a collapsible listview widget, not a collapsible widget. Any help would be much appreciated!