mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Order by creation time by default in screened ip addresses table
This commit is contained in:
parent
237312dbde
commit
bf06014a16
@ -3,7 +3,7 @@ class Admin::ScreenedIpAddressesController < Admin::AdminController
|
|||||||
before_filter :fetch_screened_ip_address, only: [:update, :destroy]
|
before_filter :fetch_screened_ip_address, only: [:update, :destroy]
|
||||||
|
|
||||||
def index
|
def index
|
||||||
screened_ip_addresses = ScreenedIpAddress.limit(200).order('last_match_at desc').to_a
|
screened_ip_addresses = ScreenedIpAddress.limit(200).order('id desc').to_a
|
||||||
render_serialized(screened_ip_addresses, ScreenedIpAddressSerializer)
|
render_serialized(screened_ip_addresses, ScreenedIpAddressSerializer)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user