# \[BUG\] filter ne() not working

**URL:** <https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [May 20, 2019, 11:44pm UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306 "2019-05-20T23:44:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![plomteuxquentin](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/plomteuxquentin/32/9345_2.png) [@plomteuxquentin](https://forum.wixstudio.com/u/plomteuxquentin)\
**Post date:** [May 20, 2019, 11:44pm UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/1 "2019-05-20T23:44:18Z")

</div>

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

This works correctly and display only 1 item:

```javascript
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)

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

```

Does anyone have an explanation? 🙂

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [May 21, 2019, 5:59am UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/2 "2019-05-21T05:59:28Z")

</div>

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.**

---

<div class="post-metadata">

**Author:** ![plomteuxquentin](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/plomteuxquentin/32/9345_2.png) [@plomteuxquentin](https://forum.wixstudio.com/u/plomteuxquentin)\
**Post date:** [May 21, 2019, 9:44am UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/3 "2019-05-21T09:44:05Z")

</div>

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](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 🙂  
Thx

---

<div class="post-metadata">

**Author:** ![plomteuxquentin](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/plomteuxquentin/32/9345_2.png) [@plomteuxquentin](https://forum.wixstudio.com/u/plomteuxquentin)\
**Post date:** [May 23, 2019, 12:13am UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/4 "2019-05-23T00:13:59Z")

</div>

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? 🙂

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [May 23, 2019, 8:27am UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/5 "2019-05-23T08:27:17Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![plomteuxquentin](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/plomteuxquentin/32/9345_2.png) [@plomteuxquentin](https://forum.wixstudio.com/u/plomteuxquentin)\
**Post date:** [May 23, 2019, 12:43pm UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/6 "2019-05-23T12:43:39Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![yisrael-wix](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/yisrael-wix/32/1107_2.png) [@yisrael-wix](https://forum.wixstudio.com/u/yisrael-wix)\
**Post date:** [May 23, 2019, 12:47pm UTC](https://forum.wixstudio.com/t/bug-filter-ne-not-working/19306/7 "2019-05-23T12:47:45Z")

</div>

@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.
