mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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 <dirk@hohndel.org>
This commit is contained in:
parent
f5510892a6
commit
293569cb19
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ function showAllDives()
|
||||||
for (var i = 0; i < items.length; i++) {
|
for (var i = 0; i < items.length; i++) {
|
||||||
itemsToShow.push(i);
|
itemsToShow.push(i);
|
||||||
}
|
}
|
||||||
|
change_sort_col('1');
|
||||||
olditemstoshow = itemsToShow;
|
olditemstoshow = itemsToShow;
|
||||||
start = 0;
|
start = 0;
|
||||||
viewInPage();
|
viewInPage();
|
||||||
|
|
Loading…
Reference in a new issue