Skip to content

Commit

Permalink
Merge pull request #48 from david-poindexter/sort-order
Browse files Browse the repository at this point in the history
Update default sorting of `User Activity` and `Manage User Activity` to be `Date (DESC)`
  • Loading branch information
valadas authored Jan 31, 2024
2 parents 8af9ef8 + d45569b commit 6e43b48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/user-activity/user-activity-detail2.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ <h4 ng-show="period_start||period_end">Period Range: {{period_start|date}} - {{p
</tr>
</thead>
<tbody>
<tr ng-repeat="user_activity in user_activities">
<tr ng-repeat="user_activity in user_activities | orderBy: '-date'">
<td>
{{user_activity.date|date}}
</td>
Expand Down
2 changes: 1 addition & 1 deletion app/views/user-activity/user-activity-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h3 class="modal-title">User Activity</h3>
</tr>
</thead>
<tbody>
<tr ng-repeat="user_activity in user_activities | search: 'user_name':user_search">
<tr ng-repeat="user_activity in user_activities | search: 'user_name':user_search | orderBy: '-date'">
<td>
<img class="rounded-circle me-1" title="{{user_activity.user_name}} Avatar" src="/DnnImageHandler.ashx?mode=profilepic&amp;userId={{user_activity.user_id}}0&amp;h=40&amp;w=40&amp;" alt="{{user_activity.user_name}} Avatar"> {{user_activity.user_name}}
</td>
Expand Down

0 comments on commit 6e43b48

Please sign in to comment.