[BUG] filter ne() not working

Hi, I’m try to filter item from a dataset using https://www.wix.com/corvid/reference/wix-data.WixDataQuery.html#ne

This works correctly and display only 1 item:

let filter = wixData.filter().eq('slug', "my-slug");
$w("#dynamicDataset").setFilter(filter);

This does not work and display all item (include the one previously filtered)

let filter = wixData.filter().ne('slug', "my-slug");
$w("#dynamicDataset").setFilter(filter);

Does anyone have an explanation? :slight_smile:

Please post the editor URL of your site. Only authorized Wix personnel can get access to your site in the editor. Please include the name of the page involved.

URL : https://editor.wix.com/html/editor/web/renderer/edit/51703225-1c8f-4ab9-96d3-0ac91d724a6e?metaSiteId=5244d47b-1806-4d34-beb3-babd2815eefc&editorSessionId=85a80a1f-a6a2-4bd6-809b-9188adb7114c&referralInfo=my-account
Page in Service Pages (Dynamic) : Bookings/Services (all)
Let me know, if it’s a bug or something else :slight_smile:
Thx

Hello Yisrael,

Do you have any news on the issue. This is blocking me from delivering the site to my client and I might need to find a work around and modify the code sample. Is that a problem for your investigation? :slight_smile:

@plomteuxquentin I sent this to QA for evaluation and they turned up an issue regarding .ne() on Booking collections. They’ve opened up a ticket on this for dev to fix.

@yisrael-wix thank you. happy to help improve the platform. I guess you have no ETA for the fix? I can change my code so?

@plomteuxquentin No ETA for now. Although, it seems to me that it’s an important enough issue to take care of it promptly. Hopefully it will be quick.