From 94fc460f8c0094b439468688225ef2167c205951 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Mar 2019 10:18:12 +0530 Subject: [PATCH] Content server: Book details page: Fix close button not going back to book list after using Next/previous buttons. Fixes #1819060 [Clicking X (close) in the book details on the server should get you back to the covers view (library)](https://bugs.launchpad.net/calibre/+bug/1819060) --- src/pyj/book_list/book_details.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/book_list/book_details.pyj b/src/pyj/book_list/book_details.pyj index 1b51da18c1..25b5b48078 100644 --- a/src/pyj/book_list/book_details.pyj +++ b/src/pyj/book_list/book_details.pyj @@ -472,7 +472,7 @@ def render_book(container_id, book_id): if next_book_id: q = parse_url_params() q.book_id = next_book_id + '' - show_panel('book_details', query=q) + show_panel('book_details', query=q, replace=True) md.appendChild(E.div( style='margin-top: 1.5ex',