From: Ian Beckwith Date: Sun, 10 Oct 2010 22:16:13 +0000 (+0100) Subject: tags: fix exclusion clause precedence X-Git-Tag: debian/1.0-1~113 X-Git-Url: http://erislabs.net/gitweb/?p=id3fs.git;a=commitdiff_plain;h=19896e2abd26ddcf4593471215105c3bc9258ab9 tags: fix exclusion clause precedence --- 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) {