Sort filters by “keyword or phrase” in Settings (#15050)

master
Mélanie Chauvel 4 years ago committed by GitHub
parent a5afbb62d2
commit 0a8ab822e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save