From 293569cb19baf6a447d5a888718d56e50ed785d3 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 18 Jun 2015 22:04:11 -0700 Subject: HTML export: before showing the dive list, sort descending by dive number This way the newest dive gets shown first (which I think makes much more sense) and the dives are in order as we show them in Subsurface. I actually think we should toggle trips on by default - but I'm not sure. Signed-off-by: Dirk Hohndel --- theme/list_lib.js | 1 + 1 file changed, 1 insertion(+) (limited to 'theme') diff --git a/theme/list_lib.js b/theme/list_lib.js index ed01e6841..b6ac97366 100644 --- a/theme/list_lib.js +++ b/theme/list_lib.js @@ -20,6 +20,7 @@ function showAllDives() for (var i = 0; i < items.length; i++) { itemsToShow.push(i); } + change_sort_col('1'); olditemstoshow = itemsToShow; start = 0; viewInPage(); -- cgit v1.2.3-70-g09d2