Simple search bar will not display results from a collection

I have a search bar (text user input element) that I am trying to make pull results from a non-dynamic collection, already connected to a repeater on the same page. Code looks fine to me (I am not well-versed by any means, but I followed tutorials and step by steps), it has no errors. When typing into the search bar, it makes all the items in the repeater disappear. And I’ve already tried several other forum posts and videos .

Search element is ‘iTitle’, collection value I’m filtering by is ‘title’ (also the dataset I am using is dataset1, I checked). All the debounceTimer stuff is just to make it look smoother, but same problem with or without that bit. Please let me know, I hope this is a simple fix I’m just overlooking!

import wixData from "wix-data";

let debounceTimer;
export function iTitle_keyPress(event) {
 if (debounceTimer) {
        clearTimeout(debounceTimer);
        debounceTimer = undefined;
    }
    debounceTimer = setTimeout(() => {
    filter($w('#iTitle').value);
    }, 200);
}

let lastFilterTitle;
function filter(title)  {
 if (lastFilterTitle !== title) {
    $w('#dataset1').setFilter(wixData.filter().contains('title','title'));
    lastFilterTitle = title;
    }
}

It should be:
. contains ( ‘title’ , title )
Not:
. contains ( ‘title’ , title )

No quotes for the second parameter.

Thank you so much, can’t believe I overlooked that!