BookBrowser icon indicating copy to clipboard operation
BookBrowser copied to clipboard

Implement pagination support

Open sblinch opened this issue 6 years ago • 0 comments

Paginates the book, author, and series lists, and the search results. This should help with browsing large libraries.

I'm aware that you're refactoring the server code, so I tried to keep the changes in server.go as unobtrusive as possible. Basically just an extra .Take() and .Skip() call on each slice, a call to NewPagination(), and an extra variable passed to the template renderer.

Implements #46.

sblinch avatar Mar 15 '19 07:03 sblinch