From 19896e2abd26ddcf4593471215105c3bc9258ab9 Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Sun, 10 Oct 2010 23:16:13 +0100 Subject: [PATCH] tags: fix exclusion clause precedence --- lib/ID3FS/Path.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ID3FS/Path.pm b/lib/ID3FS/Path.pm index 202d6ad..09553ed 100644 --- a/lib/ID3FS/Path.pm +++ b/lib/ID3FS/Path.pm @@ -500,7 +500,7 @@ sub tags if(@orclauses) { - push(@andclauses, join(' OR ', @orclauses)); + push(@andclauses, '( ' . join(' OR ', @orclauses) . ' )'); } if(@andclauses) { -- 2.11.0