Quantcast
Channel: OutSystems Community
Viewing all articles
Browse latest Browse all 1476385

[Forums] Aggregate Filter with joined tables

$
0
0

J. wrote:

btw, if you are going for OR, you will end up with multiple records, because it's either empty which will give you a hit, or the one you selected.

imho, it should be "AND" in any case




I disagree, J.

Using 'AND' in a filter used to filter by a search string, like what happens usually in List Screens made with scaffolding, where you want to find records looking in fields of different entities, will return results ONLY if ALL the fields in a line contain the string. 

This is not what we want (nor Harry). And this is why the scaffolding generate it using OR.

Here, the problem is that the SQL being generated is not correct, because there are multiple search strings, like I show here.

Otherwise, the OR would work as expected.

Cheers,
Eduardo Jauch



Viewing all articles
Browse latest Browse all 1476385

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>