diff options
author | Mélanie Chauvel <perso@hack-libre.org> | 2020-10-27 03:00:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 03:00:06 +0100 |
commit | 0a8ab822e26180522d9ae8896435aba26d8f0b96 (patch) | |
tree | 6de23dadf9d7ba73c85cdc18f33138dca6c2312a | |
parent | a5afbb62d25306dc9d28fa8d0e85edf02c63d2a3 (diff) |
Sort filters by “keyword or phrase” in Settings (#15050)
-rw-r--r-- | app/controllers/filters_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/filters_controller.rb b/app/controllers/filters_controller.rb index 63d9d9cd3..79a1ab02b 100644 --- a/app/controllers/filters_controller.rb +++ b/app/controllers/filters_controller.rb @@ -9,7 +9,7 @@ class FiltersController < ApplicationController before_action :set_body_classes def index - @filters = current_account.custom_filters + @filters = current_account.custom_filters.order(:phrase) end def new |