vendor/refinerycms/resources/app/controllers/admin/resources_controller.rb in refinerycms-0.9.8.2 vs vendor/refinerycms/resources/app/controllers/admin/resources_controller.rb in refinerycms-0.9.8.3
- old
+ new
@@ -32,14 +32,11 @@
self.insert
end
end
def index
- if searching?
- search_and_paginate_all_resources
- else
- paginate_all_resources
- end
+ search_all_resources if searching?
+ paginate_all_resources
if RefinerySetting.find_or_set(:group_resources_by_date_uploaded, true)
@grouped_resources = group_by_date(@resources)
end
end