Skip to content
Snippets Groups Projects
Commit cf969a6b authored by Gregor Gawol's avatar Gregor Gawol Committed by Dorian Merz
Browse files

refs #13993:

* do not show solr publish date
parent 20c9b47f
No related merge requests found
...@@ -13,11 +13,12 @@ ...@@ -13,11 +13,12 @@
<? endif; ?> <? endif; ?>
</span> </span>
<span property="datePublished"> <span property="datePublished">
<? $pubDateSort = $this->driver->tryMethod('getPublishDateSort'); ?> <? /* do not show solr publish date #13993 - GG */ ?>
<? $pubDate = $field->getDate(); if (!empty($pubDateSort)): ?> <? /*$pubDateSort = $this->driver->tryMethod('getPublishDateSort');*/ ?>
<?=$this->escapeHtml($pubDateSort)?> <? $pubDate = $field->getDate(); if (!empty($pubDate)): ?>
<? else: ?> <?=$this->escapeHtml($pubDate)?>
<?=$this->escapeHtml($pubDate)?></span> <? /*else: ?>
<?=$this->escapeHtml($pubDateSort)*/?></span>
<? endif; ?> <? endif; ?>
</span><br/> </span><br/>
<? endforeach; ?> <? endforeach; ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment