mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
#949 cats trash doesn't work
This commit is contained in:
parent
0fbfe520c7
commit
ddf47f636b
@ -47,7 +47,11 @@ class CategoryController extends AdminController
|
|||||||
$this->messages->error('Selected category has no sub-categories.');
|
$this->messages->error('Selected category has no sub-categories.');
|
||||||
return back();
|
return back();
|
||||||
}
|
}
|
||||||
$table->setTableEntries($categories);
|
if($request->view != "trash")
|
||||||
|
{
|
||||||
|
$table->setTableEntries($categories);
|
||||||
|
}
|
||||||
|
|
||||||
return $table->render();
|
return $table->render();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user