Skip to content

Commit

Permalink
fix(core): Fixes sort priority starting at 2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JLLeitschuh committed Sep 27, 2015
1 parent c9f485e commit c910a6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/ui-grid/uiGridHeaderCell.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
</i>
<sub
class="ui-grid-sort-priority-number">
{{col.sort.priority + 1}}
{{col.sort.priority}}
</sub>
</span>
</div>
Expand Down

0 comments on commit c910a6a

Please sign in to comment.