[dev-interface] filter collections links

This commit is contained in:
Leo Germani 2017-12-11 15:09:18 -02:00
parent 9e0ae7e39a
commit 96e41721f5
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class DevInterface {
$collection_post_type = \Tainacan\Entities\Collection::get_post_type(); $collection_post_type = \Tainacan\Entities\Collection::get_post_type();
if ($post->post_type == $collection_post_type) { if (!is_admin() && $post->post_type == $collection_post_type) {
$collection = new \Tainacan\Entities\Collection($post); $collection = new \Tainacan\Entities\Collection($post);
$items_post_type = $collection->get_db_identifier(); $items_post_type = $collection->get_db_identifier();