diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 06ea865c7..4ecc33690 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -377,7 +377,7 @@ module IssuesHelper # this method is used to get all projects that tagged one tag # added by william def get_issues_by_tag(tag_name) - Issue.tagged_with(tag_name).by_join_date + Issue.tagged_with(tag_name) end end diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb index 47b7d727a..8a2ab765f 100644 --- a/app/helpers/users_helper.rb +++ b/app/helpers/users_helper.rb @@ -58,7 +58,7 @@ module UsersHelper # this method is used to get all projects that tagged one tag # added by william def get_users_by_tag(tag_name) - User.tagged_with(tag_name).by_join_date + User.tagged_with(tag_name) end # added by fq