-@route('/books-by-author/<id:int>/', method='GET')
-@cheetah_view('books_by_author.tmpl')
-def books_by_author(id):
- use_filters = get_config().getint('filters', 'use_in_books_list')
+@route('/books-by-author/<aid:int>/', method='GET')
+@cheetah_view('list_books.tmpl')
+def books_by_author(aid):
+ use_filters = get_config().getint('filters', 'use_in_books_list', 1)
+ columns = get_config().getlist('columns', 'book', ['title'])
+ author = Author.get(aid)