Skip to content

Commit

Permalink
Merge pull request #2630 from bitzesty/admin-ui-sort-issue-production
Browse files Browse the repository at this point in the history
[Production] Make table items sortable by `state`
  • Loading branch information
Lubosky authored Oct 11, 2023
2 parents 048c29a + 1f867f2 commit b909a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/form_answers/list_components/_table.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ table.table.applications-table
th.sortable width="120"
= sort_link f, "Reference", @search, :urn, disabled: @search.query?
= render('admin/form_answers/list_components/award_type_header', f: f)
th width="250"
| Status
th.sortable width="250"
= sort_link f, "Status", @search, :state, disabled: @search.query?
th.sortable width="70"
= sort_link f, "SIC Code", @search, :sic_code, disabled: @search.query?
th.sortable width="130"
Expand Down
4 changes: 2 additions & 2 deletions app/views/assessor/form_answers/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ h1.admin-page-heading
= sort_link f, "Company", @search, :company_or_nominee_name, disabled: @search.query?
th.sortable width="120"
= sort_link f, "Reference", @search, :urn, disabled: @search.query?
th width="250"
| Status
th.sortable width="250"
= sort_link f, "Status", @search, :state, disabled: @search.query?
th.sortable width="70"
= sort_link f, "SIC Code", @search, :sic_code, disabled: @search.query?
th.sortable width="130"
Expand Down

0 comments on commit b909a7a

Please sign in to comment.