Page 1 of 1

How do you combine an "Or" and an "And" search

Posted: April 20th, 2020, 16:38
by DiBraccio
Hello

What filter expression would I need to return, all file names that match any of these strings:

_01 _02 _03 _04 _25 _26 _27 _28
"this is an the 'or' part of the search"

plus
Those returned in the above search must all match "Trap"
"This is an ''and" search applied to the above returns.

Thank You

Posted: April 20th, 2020, 19:41
by Tom
In 0.9.3 and below:
You cannot really do this as the filter always uses AND logic.

From 0.9.4:
To filter any of these (OR) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28
To also match all these against "Trap" (AND) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28 +Trap
Sneak peek: https://resonic.at/docs/preview/file-list#filter

Posted: April 20th, 2020, 22:28
by DiBraccio
Thank You

Posted: April 21st, 2020, 09:09
by DiBraccio
Hi

The filter combines "or" and "and" in a single filter expression perfectly. Exactly as you typed it below.
_01 _02 _03 _04 _25 _26 _27 _28 +Trap

I got the returns I was hoping for.

I didn't mention to you that the string: "Trap" was in the folder name, so I enabled 'meta' metadata.
and set the following metadata options:
• File > File name without path
• Path > Path without file name.

It worked.

One thing I don't get is, it only works when I have 'ext' enabled.?
Extension plays no parts in the search??

Why must 'ext' be enabled?

Thank you.

Posted: April 26th, 2020, 22:47
by Tom
Why must 'ext' be enabled?
That's clearly a bug or a wrongly labeled button (ref. 0.9.4 pre-release). Will fix that now.

Besides, we've got a bug tracker now at https://bugs.liqube.com

Posted: April 27th, 2020, 01:21
by DiBraccio
Thank You

I love the program

Posted: April 27th, 2020, 02:53
by Tom

Re:

Posted: April 3rd, 2022, 11:02
by Rony5
Tom wrote:
April 27th, 2020, 02:53
Fixed: https://bugs.liqube.com/view.php?id=9
Thanhttps://askmodapk.com/ks for the solution.
its working smoothly now..

Re:

Posted: June 24th, 2022, 06:39
by RogerEye1253
Tom wrote:
April 20th, 2020, 19:41
In 0.9.3 and below:
You cannot really do this as the filter always uses AND logic.

From 0.9.4:
To filter any of these (OR) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28
To also match all these against "Trap" (AND) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28 +Trap
Sneak peek: https://resonic.at/docs/beta/file-list#filter
This is exactly what I was looking for, thank you so much for sharingNulls Brawl APK!

Re:

Posted: May 2nd, 2023, 07:54
by leyo01
Tom wrote:
April 20th, 2020, 19:41
In 0.9.3 and below:
You cannot really do this as the filter always uses AND logic.

From 0.9.4:
To filter any of these (OR) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28
To also match all these against "Trap" (AND) you'd write:

Code: Select all

_01 _02 _03 _04 _25 _26 _27 _28 +Trap
Sneak peek: https://resonic.at/docs/preview/file-list#filter
Thanks for sharing this information. If it is right then I will be very grateful. anonymous instagram viewer