Fix followings list order | Issue #13538 (#13676)

This commit is contained in:
Taras Gogol authored and GitHub committed 2020-05-08 20:17:16 +02:00
1 parent 1787dc2721
commit 6748a5acb1
2 files changed
+38 -1

No files matched your search

+1 -1
View File
@@ -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