File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ std::string edit_index (Webserver_Request& webserver_request)
8989 constexpr const char * identification {" bibleselect" };
9090 if (webserver_request.post_count (identification)) {
9191 bible = webserver_request.post_get (identification);
92- webserver_request.database_config_user ()->set_bible (bible);
92+ webserver_request.database_config_user ()->set_bible (bible);
9393 // Going to another Bible, ensure that the focused book exists there.
9494 int book = Ipc_Focus::getBook (webserver_request);
9595 const std::vector <int > books = database::bibles::get_books (bible);
@@ -98,6 +98,8 @@ std::string edit_index (Webserver_Request& webserver_request)
9898 else book = 0 ;
9999 Ipc_Focus::set (webserver_request, book, 1 , 1 );
100100 }
101+ // Ensure it gets loaded.
102+ redirect_browser (webserver_request, edit_index_url ());
101103 return std::string ();
102104 }
103105 dialog::select::Settings settings {
You can’t perform that action at this time.
0 commit comments