mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
HTML: Save last ordering state of sorting
Saving sorting state and apply the last sorting to new search results. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
47bdcbe261
commit
c27ee46281
2 changed files with 47 additions and 20 deletions
|
|
@ -158,12 +158,12 @@ function changeAdvSearch(e){
|
|||
</div>
|
||||
</div>
|
||||
<div id="header">
|
||||
<div onClick="list_sort('1')" class="item">Number</div>
|
||||
<div onClick="list_sort('2')" class="item">Date</div>
|
||||
<div onClick="list_sort('3')" class="item">Time</div>
|
||||
<div onClick="list_sort('6')" class="item_large">Location</div>
|
||||
<div onClick="list_sort('4')" class="item">Air Temp</div>
|
||||
<div onClick="list_sort('5')" class="item">Water Temp</div>
|
||||
<div onClick="change_sort_col('1')" class="item">Number</div>
|
||||
<div onClick="change_sort_col('2')" class="item">Date</div>
|
||||
<div onClick="change_sort_col('3')" class="item">Time</div>
|
||||
<div onClick="change_sort_col('6')" class="item_large">Location</div>
|
||||
<div onClick="change_sort_col('4')" class="item">Air Temp</div>
|
||||
<div onClick="change_sort_col('5')" class="item">Water Temp</div>
|
||||
</div>
|
||||
<div id="diveslist">
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue