diff --git a/app/queries/admins/identity_verification_query.rb b/app/queries/admins/identity_verification_query.rb index 7c0fd669d..b0c685ae2 100644 --- a/app/queries/admins/identity_verification_query.rb +++ b/app/queries/admins/identity_verification_query.rb @@ -3,7 +3,7 @@ class Admins::IdentityVerificationQuery < ApplicationQuery attr_reader :params - sort_columns :updated_at, default_by: :updated_at, default_direction: :desc + sort_columns :created_at, default_by: :created_at, default_direction: :desc def initialize(params) @params = params diff --git a/app/views/admins/page_themes/_form_modal.html.erb b/app/views/admins/page_themes/_form_modal.html.erb index 3308387e8..afe6144ca 100644 --- a/app/views/admins/page_themes/_form_modal.html.erb +++ b/app/views/admins/page_themes/_form_modal.html.erb @@ -41,7 +41,7 @@ <% logo_img = @page_theme.image %>
- <%= file_field_tag(:image, accept: 'image/png,image/jpg,image/jpeg',style: "display: none", value: params[:image], required: true) %> + <%= file_field_tag(:image, accept: 'image/png,image/jpg,image/jpeg',style: "display: none", value: params[:image]) %>
diff --git a/app/views/admins/page_themes/_list.html.erb b/app/views/admins/page_themes/_list.html.erb index be4abd92a..5c0942041 100644 --- a/app/views/admins/page_themes/_list.html.erb +++ b/app/views/admins/page_themes/_list.html.erb @@ -3,7 +3,8 @@ 序号 建站工具 - 主题名 + 顺序 + 主题名 图片 仓库url 操作 @@ -15,6 +16,7 @@ <%= list_index_no((params[:page] || 1).to_i, index) %> <%= theme.language_frame %> + <%= theme.order_index %> <%= theme.name %> <%= theme.clone_url %>