i want to create a search function for my site. i want to query the url field because it includes the category as well as the title of the item. but my query results come up empty
let searchvalue = $w('#input16').value;
//Query to get the information from the database
wixData.query("SOFA")
.contains("link-SOFA-title", searchvalue)
.find()
.then((results) => {
console.log(results)
originalPropertiesInfo = results.items;
$w(`#repeater1`).data = originalPropertiesInfo;
})
.catch((err) => {
let errorMsg = err;
});
//Set the information to the repeater
$w(`#repeater1`).onItemReady(($w, itemData) => {
//add here all the relevant elements of the repeater console.log(itemData.title);
$w('#text93').text = itemData.title;
$w('#image2').src = itemData.sofaImage;
});