From: Mélanie Chauvel Date: Tue, 27 Oct 2020 02:00:06 +0000 (+0100) Subject: Sort filters by “keyword or phrase” in Settings (#15050) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=0a8ab822e26180522d9ae8896435aba26d8f0b96;p=mastodon.git Sort filters by “keyword or phrase” in Settings (#15050) --- 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