fix for title non empty

This commit is contained in:
Harry Bomrah 2016-01-12 18:13:55 +08:00
parent 6c57f18f73
commit c8a8ec1b49
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Admin::VlogsController < OrbitAdminController
@filter_fields.delete(:status) @filter_fields.delete(:status)
@table_fields = ["vlog.thumbnail", :category, :title, "vlog.uploaded_by"] @table_fields = ["vlog.thumbnail", :category, :title, "vlog.uploaded_by"]
@vlogs = VLog.where(:title.ne => "") @vlogs = VLog.all
.order_by(sort) .order_by(sort)
.with_categories(filters("category")) .with_categories(filters("category"))
.with_tags(filters("tag")) .with_tags(filters("tag"))