OAI solr query should always respect toplevel setting

This commit is contained in:
Alexander Bigga 2018-06-12 15:47:08 +02:00
parent 06ff6454ce
commit 3e07d8ddf2
1 changed files with 3 additions and 0 deletions

View File

@ -921,6 +921,9 @@ class tx_dlf_oai extends tx_dlf_plugin {
$solr_query .= ' NOT '.$required.':""';
}
// toplevel="true" is always required
$solr_query .= ' AND toplevel:"true"';
$from = "*";
// Check "from" for valid value.
if (!empty($this->piVars['from'])) {