Sfoglia il codice sorgente

add orders list file

abiao 4 anni fa
parent
commit
c8845ac0cc
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      app/models/product_warn.rb

+ 3 - 3
app/models/product_warn.rb

@@ -10,7 +10,7 @@ class ProductWarn < ActiveRecord::Base
     parent Product
     weight -500
     list do
-      filters [:happen_time,:product_id]
+      filters [:happen_time,:product_id,:recommend_count]
       field :id
       field :happen_time
       field :product_id
@@ -21,7 +21,7 @@ class ProductWarn < ActiveRecord::Base
           TYPE_ENUM
         end
       end
-      field :product_size
+      #field :product_size
       field :sale_90
       field :sale_30
       field :sale_10
@@ -44,7 +44,7 @@ class ProductWarn < ActiveRecord::Base
           TYPE_ENUM
         end
       end
-      field :product_size
+      #field :product_size
       field :sale_90
       field :sale_30
       field :sale_10