We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1137714 commit ce8603cCopy full SHA for ce8603c
src/services/Indexes.php
@@ -478,6 +478,10 @@ public function buildMapping(): array
478
$mapping[$fieldPrefix . 'attribute_' . $attribute] = $config;
479
}
480
481
+ if(isset($element->postDate) && $element->postDate instanceof \DateTime) {
482
+ $keywords['attribute_postDate'] = $element->postDate->format(\DateTime::ATOM);
483
+ }
484
+
485
/**
486
* @var ElementInterface $elementType
487
*/
0 commit comments