diff --git a/cps/static/js/main.js b/cps/static/js/main.js index 6b183b07..fc18890c 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -160,15 +160,18 @@ $(document).ready(function() { $(".session").click(function() { window.sessionStorage.setItem("back", window.location.pathname); + window.sessionStorage.setItem("search", window.location.search); }); $("#back").click(function() { var loc = sessionStorage.getItem("back"); + var param = sessionStorage.getItem("search"); if (!loc) { loc = $(this).data("back"); } sessionStorage.removeItem("back"); - window.location.href = loc; + sessionStorage.removeItem("search"); + window.location.href = loc + param; }); diff --git a/test/Calibre-Web TestSummary_Linux.html b/test/Calibre-Web TestSummary_Linux.html index 288c7443..6f805974 100644 --- a/test/Calibre-Web TestSummary_Linux.html +++ b/test/Calibre-Web TestSummary_Linux.html @@ -37,20 +37,20 @@
-

Start Time: 2024-07-18 20:53:44

+

Start Time: 2024-08-02 21:21:17

-

Stop Time: 2024-07-19 03:48:09

+

Stop Time: 2024-08-03 04:29:18

-

Duration: 5h 43 min

+

Duration: 5h 53 min

@@ -702,12 +702,12 @@ - + TestEbookConvertCalibre 15 - 15 - 0 - 0 + 12 + 2 + 1 0 Detail @@ -716,11 +716,33 @@ - +
TestEbookConvertCalibre - test_calibre_log
- PASS + +
+ FAIL +
+ + + + @@ -752,11 +774,31 @@ - +
TestEbookConvertCalibre - test_convert_only
- PASS + +
+ ERROR +
+ + + + @@ -806,11 +848,33 @@ - +
TestEbookConvertCalibre - test_email_only
- PASS + +
+ FAIL +
+ + + + @@ -852,12 +916,12 @@ - + TestEbookConvertCalibreGDrive 7 - 7 - 0 - 0 + 3 + 3 + 1 0 Detail @@ -866,29 +930,95 @@ - +
TestEbookConvertCalibreGDrive - test_convert_email
- PASS + +
+ FAIL +
+ + + + - +
TestEbookConvertCalibreGDrive - test_convert_failed_and_email
- PASS + +
+ ERROR +
+ + + + - +
TestEbookConvertCalibreGDrive - test_convert_only
- PASS + +
+ FAIL +
+ + + + @@ -911,11 +1041,33 @@ - +
TestEbookConvertCalibreGDrive - test_email_only
- PASS + +
+ FAIL +
+ + + + @@ -930,12 +1082,12 @@ - + TestEbookConvertKepubify 3 - 3 - 0 + 2 0 + 1 0 Detail @@ -953,11 +1105,31 @@ - +
TestEbookConvertKepubify - test_convert_only
- PASS + +
+ ERROR +
+ + + + @@ -972,11 +1144,11 @@ - + TestEbookConvertGDriveKepubify 3 - 3 - 0 + 2 + 1 0 0 @@ -995,11 +1167,33 @@ - +
TestEbookConvertGDriveKepubify - test_convert_only
- PASS + +
+ FAIL +
+ + + + @@ -1617,12 +1811,12 @@ - + TestEditAuthors 9 - 9 - 0 + 5 0 + 4 0 Detail @@ -1640,38 +1834,118 @@ - +
TestEditAuthors - test_change_capital_one_author_one_book
- PASS + +
+ ERROR +
+ + + + - +
TestEditAuthors - test_change_capital_one_author_two_books
- PASS + +
+ ERROR +
+ + + + - +
TestEditAuthors - test_change_capital_one_author_two_books_coauthor
- PASS + +
+ ERROR +
+ + + + - +
TestEditAuthors - test_change_capital_rename_co_author
- PASS + +
+ ERROR +
+ + + + @@ -1792,14 +2066,14 @@ - TestEditBooksList - 19 - 19 + TestEditAuthorsSmb + 9 + 9 0 0 0 - Detail + Detail @@ -1807,7 +2081,7 @@ -
TestEditBooksList - test_booklist_xss
+
TestEditAuthorsSmb - test_change_capital_co_author
PASS @@ -1816,7 +2090,7 @@ -
TestEditBooksList - test_bookslist_edit_author
+
TestEditAuthorsSmb - test_change_capital_one_author_one_book
PASS @@ -1825,7 +2099,7 @@ -
TestEditBooksList - test_bookslist_edit_categories
+
TestEditAuthorsSmb - test_change_capital_one_author_two_books
PASS @@ -1834,7 +2108,7 @@ -
TestEditBooksList - test_bookslist_edit_comment
+
TestEditAuthorsSmb - test_change_capital_one_author_two_books_coauthor
PASS @@ -1843,7 +2117,7 @@ -
TestEditBooksList - test_bookslist_edit_cust_category
+
TestEditAuthorsSmb - test_change_capital_rename_co_author
PASS @@ -1852,7 +2126,7 @@ -
TestEditBooksList - test_bookslist_edit_cust_comment
+
TestEditAuthorsSmb - test_change_capital_rename_two_co_authors
PASS @@ -1861,7 +2135,7 @@ -
TestEditBooksList - test_bookslist_edit_cust_enum
+
TestEditAuthorsSmb - test_rename_author_emphasis_mark_onupload
PASS @@ -1870,7 +2144,7 @@ -
TestEditBooksList - test_bookslist_edit_cust_float
+
TestEditAuthorsSmb - test_rename_capital_on_upload
PASS @@ -1878,6 +2152,102 @@ + +
TestEditAuthorsSmb - test_rename_tag_emphasis_mark_onupload
+ + PASS + + + + + + + TestEditBooksList + 19 + 19 + 0 + 0 + 0 + + Detail + + + + + + + +
TestEditBooksList - test_booklist_xss
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_author
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_categories
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_comment
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_cust_category
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_cust_comment
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_cust_enum
+ + PASS + + + + + + +
TestEditBooksList - test_bookslist_edit_cust_float
+ + PASS + + + + +
TestEditBooksList - test_bookslist_edit_cust_int
@@ -1886,7 +2256,7 @@ - +
TestEditBooksList - test_bookslist_edit_cust_ratings
@@ -1895,7 +2265,7 @@ - +
TestEditBooksList - test_bookslist_edit_cust_text
@@ -1904,7 +2274,7 @@ - +
TestEditBooksList - test_bookslist_edit_languages
@@ -1913,7 +2283,7 @@ - +
TestEditBooksList - test_bookslist_edit_publisher
@@ -1922,7 +2292,7 @@ - +
TestEditBooksList - test_bookslist_edit_series
@@ -1931,7 +2301,7 @@ - +
TestEditBooksList - test_bookslist_edit_seriesindex
@@ -1940,7 +2310,7 @@ - +
TestEditBooksList - test_bookslist_edit_title
@@ -1949,7 +2319,7 @@ - +
TestEditBooksList - test_list_visibility
@@ -1958,7 +2328,7 @@ - +
TestEditBooksList - test_restricted_rights
@@ -1967,7 +2337,7 @@ - +
TestEditBooksList - test_search_books_list
@@ -1985,25 +2355,25 @@ 1 0 - Detail + Detail - +
TestLoadMetadata - test_load_metadata
- ERROR + ERROR
-