diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-03-18 20:50:42 +0300 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-02 20:11:51 +0300 |
commit | 98ac988d4d9525b3f07a19e495a9c2666ebee3c6 (patch) | |
tree | 34dabbb70d716df5ad123875d24210bdc0d83115 /app/finders | |
parent | 8f32724fcb7f05052b53dcd365a064ad87a9535e (diff) |
Use order instead of reorder. Improve tests.
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/pipelines_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/pipelines_finder.rb b/app/finders/pipelines_finder.rb index 0c91c136a8f..22507472e15 100644 --- a/app/finders/pipelines_finder.rb +++ b/app/finders/pipelines_finder.rb @@ -118,6 +118,6 @@ class PipelinesFinder else :desc end - items.reorder(order_by => sort) + items.order(order_by => sort) end end |