forked from e621ng/e621ng
[IpSearch] Add with_history to the user/ip toggle path
Just something I found annoying while playing around with it
This commit is contained in:
parent
e9b8cbf383
commit
ef9ef25ea2
@ -1,4 +1,4 @@
|
||||
<p><%= link_to "Search for users with these IP addresses", moderator_ip_addrs_path(:search => {:ip_addr => @results[:ip_addrs].reject{|ip| ip == "127.0.0.1"}.join(",")}) %></p>
|
||||
<p><%= link_to "Search for users with these IP addresses", moderator_ip_addrs_path(search: {ip_addr: @results[:ip_addrs].reject{|ip| ip == "127.0.0.1"}.join(","), with_history: params[:search][:with_history]}) %></p>
|
||||
|
||||
<table class="striped">
|
||||
<thead>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<p><%= link_to "Search for IP addresses with these users", moderator_ip_addrs_path(:search => {:user_id => @results[:users].map { |user_id, _| user_id }.join(",")}) %></p>
|
||||
<p><%= link_to "Search for IP addresses with these users", moderator_ip_addrs_path(search: {user_id: @results[:users].map { |user_id, _| user_id }.join(","), with_history: params[:search][:with_history]}) %></p>
|
||||
|
||||
<table class="striped">
|
||||
<thead>
|
||||
|
Loading…
Reference in New Issue
Block a user