Flag/appeal search: fix creator param not always being preserved
This commit is contained in:
@@ -162,11 +162,11 @@ class UserPresenter
|
|||||||
end
|
end
|
||||||
|
|
||||||
def appeal_count(template)
|
def appeal_count(template)
|
||||||
template.link_to(user.appeal_count, template.post_appeals_path(:search => {:creator_id => user.id}))
|
template.link_to(user.appeal_count, template.post_appeals_path(:search => {:creator_name => user.name}))
|
||||||
end
|
end
|
||||||
|
|
||||||
def flag_count(template)
|
def flag_count(template)
|
||||||
template.link_to(user.flag_count, template.post_flags_path(:search => {:creator_id => user.id}))
|
template.link_to(user.flag_count, template.post_flags_path(:search => {:creator_name => user.name}))
|
||||||
end
|
end
|
||||||
|
|
||||||
def approval_count(template)
|
def approval_count(template)
|
||||||
|
|||||||
Reference in New Issue
Block a user