mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Switched the arrows for desc/asc to the correct way as per SortDirection = desc check in TableListField.ss
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@71309 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d471bd4785
commit
0a0ce99f5c
@ -20,9 +20,9 @@
|
||||
<span class="sortLink <% if SortBy %><% else %>sortLinkHidden<% end_if %>">
|
||||
<a href="$SortLink"">
|
||||
<% if SortDirection = desc %>
|
||||
<img src="cms/images/bullet_arrow_up.png" alt="<% _t('SORTASC', 'Sort in ascending order') %>" />
|
||||
<% else %>
|
||||
<img src="cms/images/bullet_arrow_down.png" alt="<% _t('SORTDESC', 'Sort in descending order') %>" />
|
||||
<% else %>
|
||||
<img src="cms/images/bullet_arrow_up.png" alt="<% _t('SORTASC', 'Sort in ascending order') %>" />
|
||||
<% end_if %>
|
||||
</a>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user