]> git.phdru.name Git - m_librarian.git/commitdiff
Fix a bug
authorOleg Broytman <phd@phdru.name>
Tue, 24 May 2016 21:21:07 +0000 (00:21 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 24 May 2016 21:21:07 +0000 (00:21 +0300)
m_librarian/search.py

index 7572287759616f11cb2c7353dbc3779cabc6e61c..2fbde60906edef7554ebf123f1425ad222317d88 100644 (file)
@@ -59,7 +59,7 @@ def _search(table, search_type, case_sensitive, values,
 def search_authors(search_type, case_sensitive, values,
                    expressions=None, orderBy=None):
     return _search(Author, search_type, case_sensitive, values,
-                   expressions=None, orderBy=orderBy)
+                   expressions=expressions, orderBy=orderBy)
 
 
 def search_books(search_type, case_sensitive, values, join_expressions=None,