[Users] Fix "search for myself" link

Search parameters were locked down because of the added ip search.
This one doesn't do anything, so just remove it
This commit is contained in:
Earlopain 2022-01-03 20:40:15 +01:00
parent 5677f90639
commit b049eb9024
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897

View File

@ -147,7 +147,7 @@
<li>&raquo; <%= link_to "Sets I maintain", post_sets_path(maintainer_id: CurrentUser.id) %></li>
<li>&raquo; <%= link_to "Set maintainer invites", post_set_maintainers_path %></li>
<li>&nbsp;</li>
<li>&raquo; <%= link_to "Search for myself in comments", comments_path(group_by: :comment, search:{ body_matches: CurrentUser.name, results: 'exact'}) %></li>
<li>&raquo; <%= link_to "Search for myself in comments", comments_path(group_by: :comment, search:{ body_matches: CurrentUser.name }) %></li>
<li>&raquo; <%= link_to "Search for myself in blips", blips_path(search: {body_matches: CurrentUser.pretty_name}) %></li>
<li>&raquo; <%= link_to "Search for myself in forums", forum_posts_path(search: {body_matches: CurrentUser.pretty_name}) %></li>
<li>&raquo; <%= link_to "Comments on my posts", comments_path(group_by: :comment, search: {poster_id: CurrentUser.id}) %></li>