about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorTaras Gogol <taras2358@gmail.com>2020-05-08 21:17:16 +0300
committerGitHub <noreply@github.com>2020-05-08 20:17:16 +0200
commit6748a5acb1fc0e4652dde1ee6544d4ae2d6d4f26 (patch)
treed1e20db15b2af93bb6777907ddd69ac8c3c0491f /app/models
parent1787dc2721d1095375ff27329376410593bddc10 (diff)
Fix followings list order | Issue #13538 (#13676)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/relationship_filter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/relationship_filter.rb b/app/models/relationship_filter.rb
index e6859bf3d..9135ff144 100644
--- a/app/models/relationship_filter.rb
+++ b/app/models/relationship_filter.rb
@@ -23,7 +23,7 @@ class RelationshipFilter
     scope = scope_for('relationship', params['relationship'].to_s.strip)
 
     params.each do |key, value|
-      next if key.to_s == 'page'
+      next if %w(relationship page).include?(key)
 
       scope.merge!(scope_for(key.to_s, value.to_s.strip)) if value.present?
     end