Skip to content
Snippets Groups Projects
Verified Commit 21f40d11 authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

feat/23945 Hide journals from registry

parent 99d280e4
No related branches found
No related tags found
No related merge requests found
......@@ -517,7 +517,7 @@ class content implements \bundle\recordsManagement\Controller\archiveDescription
$term,
$keyword
);
$jsonContentDescriptions = $this->sdoFactory->find("recordsManagement/archive", $jsonQueryString, $jsonQueryParams, '>depositDate', 0, $maxResults);
return array_merge($tableContentDescriptions, $jsonContentDescriptions);
......@@ -848,7 +848,7 @@ class content implements \bundle\recordsManagement\Controller\archiveDescription
$keyword = array()
) {
//$queryParts['json'] = "(descriptionClass = 'seda2' || descriptionClass = 'seda2/Content')";
$queryParts['json'] = "(descriptionClass != 'archivesPubliques/content' || descriptionClass = null)";
$queryParts['json'] = "(descriptionClass != 'archivesPubliques/content' && descriptionClass != 'recordsManagement/log')";
if (is_array($keyword) && !empty($keyword)) {
foreach ($keyword as $keywordObj) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment