Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Bug: REST API filter get data outside conditions. #6148

Closed
1 task done
Rafurus opened this issue Aug 9, 2023 · 4 comments
Closed
1 task done

馃悰 Bug: REST API filter get data outside conditions. #6148

Rafurus opened this issue Aug 9, 2023 · 4 comments

Comments

@Rafurus
Copy link

Rafurus commented Aug 9, 2023

Please confirm if bug report does NOT exists already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

I'm using n8n integration.
In node I get 1 row where filter is (quotaLimit,gt,0)~and(domainList,like,www.vredacted.com)
In noco I have table with keys that need to be downloaded.
The problem is that this filter sometimes is getting wrong damainList - it's getting www.zredacted.com.pl which is row 5 on screen instead of row 9.

Since there in no contains filter I'm using like.

image

Desired Behavior

Filter should get only data within conditions.

Project Details

Docker
Version 109.6
pg 15.1
Ubuntu 20.04.6 LTS
Node 17.9

Attachments

No response

@wingkwong
Copy link
Member

it's getting www.zredacted.com.pl which is row 5 on screen instead of row 9.

Why row 9 only? row 10 seems also matching with the condition.

Also, does row 5 contain other records also?

@Rafurus
Copy link
Author

Rafurus commented Aug 9, 2023

it's getting www.zredacted.com.pl which is row 5 on screen instead of row 9.

Why row 9 only? row 10 seems also matching with the condition.

Also, does row 5 contain other records also?

Row 5 have only 1 domain - z.

Row 10 is also matching but I get 1 by 1 row that matching conditions and then do something with them.

@Rafurus
Copy link
Author

Rafurus commented Aug 10, 2023

Additional important information:
I do of course loop when i get one by one row.
And first loop is GOOD, second one is BAD.
Right now i don't know if it's nocodb problem with api or that n8n is ommiting filters in loop.

@dstala
Copy link
Member

dstala commented Oct 24, 2023

@Rafurus you still have this issue? we now have v2-data-apis. you can try them out!
https://data-apis-v2.nocodb.com/

please reopen this issue if you still have problems with filters

@dstala dstala closed this as completed Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants