Skip to content

Filtering a Data Provider on a Relationship _id does not work #16137

Answered by mikesealey
LukiWasTaken asked this question in Help
Discussion options

You must be logged in to vote

Hey @LukiWasTaken - Thanks for providing your app-export.

There's some fine details here that think have been missed.

Looking at your app, you're trying to filter a data provider on bereich.ID, where bereich.ID equals ro_ta_cee48524194048[....]

But looking at your table bereich, bereich.ID equals 1

The issue stems from _id and ID being used interchangeably. bereich.ID is an AutoColumn that you've added, which is effectively a serial primary key, whereas every Budibase table regardless of the use of an AutoColumn ID, has a more complex _id which is what you've used in the filter.

Replacing the _id you've passed into the filter with 1 should resolve your issue. You should also be sure to …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mikesealey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #16123 on May 14, 2025 09:51.