adds site->id to search text results
This commit is contained in:
parent
dafe41912d
commit
d6d9260c0e
|
@ -7,6 +7,7 @@ $archiveSiteHelper = $this->getHelperPluginManager()->get('archiveSiteMeta');
|
||||||
$collections = [];
|
$collections = [];
|
||||||
foreach($sites as $site){
|
foreach($sites as $site){
|
||||||
$site_data = $archiveSiteHelper->getSiteMetaValues($site);
|
$site_data = $archiveSiteHelper->getSiteMetaValues($site);
|
||||||
|
$site_data['id'] = $site->id();
|
||||||
$site_data['url'] = $site->siteUrl();
|
$site_data['url'] = $site->siteUrl();
|
||||||
$site_data['title'] = $site->title();
|
$site_data['title'] = $site->title();
|
||||||
$site_data['summary'] = nl2br($this->escapeHtml($site->summary()));
|
$site_data['summary'] = nl2br($this->escapeHtml($site->summary()));
|
||||||
|
|
Loading…
Reference in New Issue