Skip to content

Commit c910a6a

Browse files
committed
fix(core): Fixes sort priority starting at 2
The sort priority was starting at 2 when the headers or menu buttons were used to sort. Unfortunately, this will show up strangely for users who use sort priority 0 when configuring the grid settings.
1 parent c9f485e commit c910a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/ui-grid/uiGridHeaderCell.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</i>
2626
<sub
2727
class="ui-grid-sort-priority-number">
28-
{{col.sort.priority + 1}}
28+
{{col.sort.priority}}
2929
</sub>
3030
</span>
3131
</div>

0 commit comments

Comments
 (0)