fix for title non empty
This commit is contained in:
parent
6c57f18f73
commit
c8a8ec1b49
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue