Skip to content

Commit

Permalink
add new loc col
Browse files Browse the repository at this point in the history
  • Loading branch information
zandre-eng committed Jun 10, 2024
1 parent eaf7121 commit 30a284a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion corehq/apps/reports/standard/deployments.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ def _columns(self):
DataTablesColumn(_("Username"),
prop_name='username.exact',
sql_col='user_dim__username'),
DataTablesColumn(_("Assigned Location(s)"),
help_text=_('The location(s) that the user is assigned to'),
sortable=False),
DataTablesColumn(_("Last Submission"),
prop_name='reporting_metadata.last_submissions.submission_date',
alt_prop_name='reporting_metadata.last_submission_for_user.submission_date',
Expand Down Expand Up @@ -119,7 +122,7 @@ def headers(self):
sortable=False)
)
headers = DataTablesHeader(*columns)
headers.custom_sort = [[1, 'desc']]
headers.custom_sort = [[2, 'desc']]
return headers

@cached_property
Expand Down

0 comments on commit 30a284a

Please sign in to comment.