Extract determine_new_sort/2, update_sort_components/4, and push_sort_url/3
from handle_info({:sort, ...}). Reduces function from 46 to 7 lines.
|
||
|---|---|---|
| .. | ||
| components | ||
| member_live | ||
| property_live | ||
| property_type_live | ||
| user_live | ||
Extract determine_new_sort/2, update_sort_components/4, and push_sort_url/3
from handle_info({:sort, ...}). Reduces function from 46 to 7 lines.
|
||
|---|---|---|
| .. | ||
| components | ||
| member_live | ||
| property_live | ||
| property_type_live | ||
| user_live | ||