diff --git a/application/view/common/advanced-search.phtml b/application/view/common/advanced-search.phtml index aa04eea9ca..3520c974e6 100644 --- a/application/view/common/advanced-search.phtml +++ b/application/view/common/advanced-search.phtml @@ -4,6 +4,7 @@ $this->headScript()->appendFile($this->assetUrl('js/advanced-search.js', 'Omeka' $query = isset($query) ? $query : null; $resourceType = isset($resourceType) ? $resourceType : null; +$isPool = isset($isPool) ? $isPool : null; $partials = [ 'common/advanced-search/fulltext', @@ -16,7 +17,7 @@ if ($this->status()->isAdminRequest()) { switch ($resourceType) { case 'item': $partials[] = 'common/advanced-search/item-sets'; - if ($this->status()->isAdminRequest()) { + if ($this->status()->isAdminRequest() && !$isPool) { $partials[] = 'common/advanced-search/site-pool'; } break; diff --git a/application/view/omeka/site-admin/index/resources.phtml b/application/view/omeka/site-admin/index/resources.phtml index 888ee1d0a3..d78de6a24a 100644 --- a/application/view/omeka/site-admin/index/resources.phtml +++ b/application/view/omeka/site-admin/index/resources.phtml @@ -46,7 +46,7 @@ $rowTemplate = ' ); ?>