Browse Source

Fix typo in property name

pull/1/head
Sebastian Meyer 10 years ago
parent
commit
9d6ce379ee
  1. 8
      dlf/common/class.tx_dlf_indexing.php
  2. 4
      dlf/plugins/metadata/class.tx_dlf_metadata.php

8
dlf/common/class.tx_dlf_indexing.php

@ -108,9 +108,9 @@ class tx_dlf_indexing {
$errors = 0;
// Handle multi-volume documents.
if ($doc->parentid) {
if ($doc->parentId) {
$parent = tx_dlf_document::getInstance($doc->parentid, 0, TRUE);
$parent = tx_dlf_document::getInstance($doc->parentId, 0, TRUE);
if ($parent->ready) {
@ -120,7 +120,7 @@ class tx_dlf_indexing {
if (TYPO3_DLOG) {
t3lib_div::devLog('[tx_dlf_indexing->add(['.$doc->uid.'], '.$core.')] Could not load parent document with UID "'.$doc->parentid.'"', $this->extKey, SYSLOG_SEVERITY_ERROR);
t3lib_div::devLog('[tx_dlf_indexing->add(['.$doc->uid.'], '.$core.')] Could not load parent document with UID "'.$doc->parentId.'"', $this->extKey, SYSLOG_SEVERITY_ERROR);
}
@ -488,7 +488,7 @@ class tx_dlf_indexing {
}
$solrDoc->setField('partof', $doc->parentid);
$solrDoc->setField('partof', $doc->parentId);
$solrDoc->setField('sid', $logicalUnit['id']);

4
dlf/plugins/metadata/class.tx_dlf_metadata.php

@ -247,9 +247,9 @@ class tx_dlf_metadata extends tx_dlf_plugin {
if ($index_name == 'title') {
// Get title of parent document if needed.
if (empty($value) && $this->conf['getTitle'] && $this->doc->parentid) {
if (empty($value) && $this->conf['getTitle'] && $this->doc->parentId) {
$value = '['.tx_dlf_document::getTitle($this->doc->parentid, TRUE).']';
$value = '['.tx_dlf_document::getTitle($this->doc->parentId, TRUE).']';
}

Loading…
Cancel
Save