]> git.openstreetmap.org Git - rails.git/commitdiff
Preserve status parameter in IP links in user lists
authorTom Hughes <tom@compton.nu>
Sat, 15 Feb 2025 14:12:31 +0000 (14:12 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 15 Feb 2025 14:36:54 +0000 (14:36 +0000)
app/views/users/lists/_user.html.erb

index 14216a24449f38923e8ababe11b2aa9738d638c5..a3900cb382eb2f46b8402525878be1910597eabe 100644 (file)
@@ -7,7 +7,7 @@
       <% if user.creation_address %>
         <%= t ".summary_html",
               :name => link_to(user.display_name, user),
-              :ip_address => link_to(user.creation_address, :ip => user.creation_address),
+              :ip_address => link_to(user.creation_address, :status => params[:status], :ip => user.creation_address),
               :date => l(user.created_at, :format => :friendly) %>
       <% else %>
         <%= t ".summary_no_ip_html",