mirror of
https://github.com/internetee/registry.git
synced 2025-05-28 16:39:55 +02:00
Story#105314040 add sorting to contact domains (remove debug)
This commit is contained in:
parent
5dc550172d
commit
26b0ca7cdd
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ module ApplicationHelper
|
|||
sort = params.fetch(:sort, {})[param_name]
|
||||
order = {"asc"=>"desc", "desc"=>"asc"}[sort] || "asc"
|
||||
|
||||
# binding.pry
|
||||
|
||||
if params.fetch(:sort, {}).include?(param_name)
|
||||
title += (sort == "asc" ? " ▲" : " ▼")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue