mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
111396946-order_and_style_changes
This commit is contained in:
parent
f31db65d2c
commit
db819447c6
3 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ class Admin::ReservedDomainsController < AdminController
|
|||
def index
|
||||
|
||||
params[:q] ||= {}
|
||||
domains = ReservedDomain.all
|
||||
domains = ReservedDomain.all.order(:name)
|
||||
@q = domains.search(params[:q])
|
||||
@domains = @q.result.page(params[:page])
|
||||
@domains = @domains.per(params[:results_per_page]) if params[:results_per_page].to_i > 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue