From d6094d78376845dd097f1ed72609f299913bc331 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 21 May 2016 23:04:16 +0300 Subject: [PATCH] Sort books by series, serial number and title --- scripts/ml-search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ml-search.py b/scripts/ml-search.py index 985e6d7..b4c01e2 100755 --- a/scripts/ml-search.py +++ b/scripts/ml-search.py @@ -60,7 +60,7 @@ def _search_books(case_sensitive, search_type, args): if case_sensitive is None: case_sensitive = _guess_case_sensitivity(values) for book in search_books(search_type, case_sensitive, values, - orderBy='title'): + orderBy=('series', 'ser_no', 'title')): print book.title.encode(default_encoding) if args.details >= 1: print " ", _("Author(s)"), ":", -- 2.39.5