Skip to content

Commit

Permalink
feat(ui): sort process instances by start time
Browse files Browse the repository at this point in the history
* in the instances view, allow sorting by start time
  • Loading branch information
saig0 committed Sep 3, 2021
1 parent db2fcdc commit 6273e1d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/main/resources/templates/instance-list-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
<th>BPMN process id</th>
<th>Process Definition Key</th>
<th>State</th>
<th>Start Time</th>
<th>Start Time
<a id="instance-start-time" href="#" class="badge badge-secondary" data-toggle="tooltip" data-placement="top"
title="Sort by Start Time">
</a>
</th>
</thead>

{{#instances}}
Expand All @@ -36,3 +40,9 @@
</div>

{{>layout/footer}}

<script>
document.addEventListener('DOMContentLoaded', function(){
listSort('start','instance-start-time')
}, false);
</script>

0 comments on commit 6273e1d

Please sign in to comment.