# Custom Filter not working

**URL:** <https://forum.adalo.com/t/custom-filter-not-working/2333>\
**Category:** Get Help\
**Created:** [July 5, 2020, 9:27pm UTC](https://forum.adalo.com/t/custom-filter-not-working/2333 "2020-07-05T21:27:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![diego](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@diego](https://forum.adalo.com/u/diego)\
**Post date:** [July 5, 2020, 9:27pm UTC](https://forum.adalo.com/t/custom-filter-not-working/2333/1 "2020-07-05T21:27:15Z")

</div>

Hi,

I am having an issue trying to filter a list with a custom filter.

I have two databases:  
One named **Users**. it has a numeric field called cleanerid and for this example it has a value of 10.  
The other one is called **Zap-api-appointment**. In which i have another numeric field called staff\_id, also with a value of 10.

I am trying to filter a list where the cleanerid = the staffid. Both the staff id and the cleaner id are a number.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/6/6cb21bc63b6c04a1dcb9f1688873d555f7993bcb.png)

When i run the app the list comes back empty, even-though there are matching results.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/2/28cea7299bc3ceece0f72a88f43225d41bb683d8.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/3/321d51155bcc85829ebafe21670e15ef0455f0cb.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/e/eaa52e1cda698de3b78ebc8f3f3d4633763711a6.png)

Why is this not working? One id has the same value as the other one.

---

<div class="post-metadata">

**Author:** ![bibipac](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bibipac/32/786_2.png) [@bibipac](https://forum.adalo.com/u/bibipac)\
**Post date:** [July 6, 2020, 4:58am UTC](https://forum.adalo.com/t/custom-filter-not-working/2333/2 "2020-07-06T04:58:23Z")

</div>

Hola@diego,  
si, parece todo cierto - have you tried not to use the “Logged in” mode ?  
maybe just for test, testing the “cleanerId” directly without being logged would work.  
otherwise you d have to log in by going through the login screens then and make sure that as the logged user you are really using the ID #10 …(and not some other #Id numbers.)

---

<div class="post-metadata">

**Author:** ![ChristopheHK](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/christophehk/32/1179_2.png) [@ChristopheHK](https://forum.adalo.com/u/ChristopheHK)\
**Post date:** [July 6, 2020, 5:15am UTC](https://forum.adalo.com/t/custom-filter-not-working/2333/3 "2020-07-06T05:15:36Z")

</div>

Also, it may be possible that the current user data are not available at that moment. It is the case if your screen with the list is just after the log in screen. In this case, add an intermediate screen between the log in screen and the screen with the list. For this screen / workaround to be as transparent as possible for your users, add an action at screen level : “when a user visits this screen…” =\> link to screen ( the screen with the list).

---

<div class="post-metadata">

**Author:** ![diego](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@diego](https://forum.adalo.com/u/diego)\
**Post date:** [July 7, 2020, 4:22am UTC](https://forum.adalo.com/t/custom-filter-not-working/2333/4 "2020-07-07T04:22:37Z")

</div>

Thank you very much to both for your help and time.  
I did both of your suggestions. I am not sure which one did it, but i was able to filter the list.  
🎉🎉

---

<div class="post-metadata">

**Author:** ![bibipac](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/bibipac/32/786_2.png) [@bibipac](https://forum.adalo.com/u/bibipac)\
**Post date:** [July 7, 2020, 4:28am UTC](https://forum.adalo.com/t/custom-filter-not-working/2333/5 "2020-07-07T04:28:27Z")

</div>

@diego Cool… !  
@ChristopheHK I have seen the same work around in some other Topics…would it be that traffic back from servers can sometimes be “too slow” (slower than a change on a device) after some events ?

---

<div class="post-metadata">

**Author:** ![Vanny](https://avatars.discourse-cdn.com/v4/letter/v/a6a055/32.png) [@Vanny](https://forum.adalo.com/u/Vanny)\
**Post date:** [August 22, 2021, 8:27am UTC](https://forum.adalo.com/t/custom-filter-not-working/2333/6 "2021-08-22T08:27:45Z")

</div>

Hi, How did you solve?  
I too am experiencing the same problems
