Allow searching for deleted pools
This commit is contained in:
@@ -84,6 +84,12 @@ class Pool < ActiveRecord::Base
|
||||
q = q.collection
|
||||
end
|
||||
|
||||
if params[:is_deleted] == "true"
|
||||
q = q.deleted
|
||||
else
|
||||
q = q.undeleted
|
||||
end
|
||||
|
||||
q
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user