fix: make sure all tests run
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
dddad69e88
commit
bb7e3cbe77
1 changed files with 5 additions and 1 deletions
|
|
@ -328,8 +328,12 @@ defmodule MvWeb.MemberLive.Index do
|
|||
|
||||
{new_field, new_order} = determine_new_sort(field, socket)
|
||||
|
||||
old_field = socket.assigns.sort_field
|
||||
|
||||
socket
|
||||
|> update_sort_components(socket.assigns.sort_field, new_field, new_order)
|
||||
|> assign(:sort_field, new_field)
|
||||
|> assign(:sort_order, new_order)
|
||||
|> update_sort_components(old_field, new_field, new_order)
|
||||
|> push_sort_url(new_field, new_order)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue