]> git.phdru.name Git - m_librarian.git/commitdiff
Fix _search arguments
authorOleg Broytman <phd@phdru.name>
Fri, 13 May 2016 16:39:10 +0000 (19:39 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 13 May 2016 16:39:10 +0000 (19:39 +0300)
m_librarian/search.py

index f1d71b71a9e9bf90deb060af373f22ff742267f6..ad36cd0f2eff1bf5945fecaa837eb798ecec01c4 100644 (file)
@@ -56,16 +56,16 @@ def search_authors(search_type, case_sensitive, values,
 
 
 def search_books(search_type, case_sensitive, values):
-    return _search(Book, search_type, case_sensitive, values)
+    return _search(Book, search_type, case_sensitive, values, [])
 
 
 def search_extensions(search_type, case_sensitive, values):
-    return _search(Extension, search_type, case_sensitive, values)
+    return _search(Extension, search_type, case_sensitive, values, [])
 
 
 def search_genres(search_type, case_sensitive, values):
-    return _search(Genre, search_type, case_sensitive, values)
+    return _search(Genre, search_type, case_sensitive, values, [])
 
 
 def search_languages(search_type, case_sensitive, values):
-    return _search(Language, search_type, case_sensitive, values)
+    return _search(Language, search_type, case_sensitive, values, [])