Skip to content

Update default sorting of User Activity and Manage User Activity to be Date (DESC) #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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