Hi there, I have a problem…
I am not happy with the repeaters that come with the Wix Events app, because they don’t offer the options I need. I therefore created my own repeater and connected it to the events dataset. Now I want to create filters. I managed to do this for other datasets, but it doesn’t work with the events dataset.
When I search the fields for entries, I use the function .contains() or .eq(), but I get an error when I load the page, e.g.: Unsupported filter operator $contains for Title
Here’s a minimal code example:
import wixData from 'wix-data';
wixData.query("Events/Events")
.contains("Title", "event")
.find()
Any hints? If I cannot use the normal data options for events, how can I filter my repeater?
I’d appreciate any comments 
The field key should be title :
.contains("title", "event")
Hopefully that helps.
oops sorry. I’m actually not using the title, this was just an example. But, I just checked and with “Title” I get the same error, with “title” no error.
So, for the other fields I used the keys from this page: https://support.wix.com/en/article/corvid-wix-events-events-collection-fields (e.g. locationName) but always get an error. Are these keys not correct?
Thanks!
Why not check out and possibly use the custom Eix Events setup that is already out as tutorials…
https://support.wix.com/en/article/creating-a-custom-events-gallery
https://support.wix.com/en/article/creating-a-custom-event-details-page
Ignore the word gallery in the first link, it does get made up in a repeater 
As for the Wix Events app and collections, then yes all the field names and keys are correct for it.
https://support.wix.com/en/corvid-by-wix/wix-events-with-corvid
What you need to check is that if you are using a data query then if that filter is allowed for that field, like title and locationName…
Title (title)
Description : The event’s name.
Type : Text
Can connect to data : Yes
Can use in dynamic page URL : Yes
Can be sorted : Yes
Can be filtered : lt, lte, gt, gte, hasSome, urlized
Read-only : Yes
Location name (locationName)
Description : If the event has a location, that location is displayed. Otherwise, the TBD message from the Events Dashboard is displayed.
Type : Text
Can connect to data : Yes
Can use in dynamic page URL : No
Can be sorted : No
Can be filtered : No
Read-only : Yes
Hence why you are getting that error of ’ Unsupported filter operator $contains for Title’
So why can’t I use the location name for filtering? How useless is this?
When I create a database, I can use any column for sorting and filtering. Why is the event database different?
That is because it is a collection from a Wix app which you can’t change, this is so that it will always work correctly with that specific app.
Any Wix app is initially only able to be used as a Wix app, however after time they do eventually get opened up to be able to be used with Wix Corvid.
Although using a Wix app with Corvid will always have limitations as you are using with a Wix app that needs to have retain control over the collection and how it works.
If you had full permissions to change anything in a collection from a Wix app, then you could potentially break the Wix app and the only way to rectify that might be to have to delete and reinstall the app again, which means that you could end up losing any existing setup or design that you currently have with the Wix app.
If you add your own dataset to your page then you can have full control over that dataset, so you can do whatever you wish with it.
It is the same with not letting users have access to the DOM, it would only take a little fiddling and something could easily be broken and their website is no good…