Merge pull request #349 from openclassify/vedat

#949 cats trash doesn't work
This commit is contained in:
Fatih Alp 2020-02-20 13:52:16 +03:00 committed by GitHub
commit 34102bd3d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,11 @@ class CategoryController extends AdminController
$this->messages->error('Selected category has no sub-categories.');
return back();
}
$table->setTableEntries($categories);
if($request->view != "trash")
{
$table->setTableEntries($categories);
}
return $table->render();
}