users: add ability to search for deleted users.
This commit is contained in:
@@ -601,12 +601,10 @@ class User < ApplicationRecord
|
||||
|
||||
q = search_attributes(
|
||||
params,
|
||||
[:id, :created_at, :updated_at, :name, :level, :post_upload_count,
|
||||
:post_update_count, :note_update_count, :favorite_count, :posts,
|
||||
:note_versions, :artist_commentary_versions, :post_appeals,
|
||||
:post_approvals, :artist_versions, :comments, :wiki_page_versions,
|
||||
:feedback, :forum_topics, :forum_posts, :forum_post_votes,
|
||||
:tag_aliases, :tag_implications, :bans, :inviter],
|
||||
[:id, :created_at, :updated_at, :name, :level, :is_deleted, :post_upload_count, :post_update_count,
|
||||
:note_update_count, :favorite_count, :posts, :note_versions, :artist_commentary_versions, :post_appeals,
|
||||
:post_approvals, :artist_versions, :comments, :wiki_page_versions, :feedback, :forum_topics, :forum_posts,
|
||||
:forum_post_votes, :tag_aliases, :tag_implications, :bans, :inviter],
|
||||
current_user: current_user
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user