tags: fix exclusion clause precedence
authorIan Beckwith <ianb@erislabs.net>
Sun, 10 Oct 2010 22:16:13 +0000 (23:16 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sun, 10 Oct 2010 22:16:13 +0000 (23:16 +0100)
lib/ID3FS/Path.pm

index 202d6ad..09553ed 100644 (file)
@@ -500,7 +500,7 @@ sub tags
 
     if(@orclauses)
     {
-       push(@andclauses, join(' OR ', @orclauses));
+       push(@andclauses, '( ' . join(' OR ', @orclauses) . ' )');
     }
     if(@andclauses)
     {