Commits

phmongeau  committed c6346bb

fix param odrder for match function of PluginQuery

  • Participants
  • Parent commits eafdab4

Comments (0)

Files changed (1)

File beets/library.py

         self.name = None
 
     def clause(self):
-        clause = "{name}({field}, ?)".format(name=self.name, field=self.field)
+        clause = "{name}(?, {field})".format(name=self.name, field=self.field)
         return clause, [self.pattern]
 
 class BooleanQuery(MatchQuery):