From: Oleg Broytman Date: Fri, 13 May 2016 16:39:10 +0000 (+0300) Subject: Fix _search arguments X-Git-Tag: 0.0.5~6 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dd4e7bf0818418d993b55a9dcfd968ab1c05567c;p=m_librarian.git Fix _search arguments --- diff --git a/m_librarian/search.py b/m_librarian/search.py index f1d71b7..ad36cd0 100644 --- a/m_librarian/search.py +++ b/m_librarian/search.py @@ -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, [])