Skip to content

Commit

Permalink
Merge pull request #68 from palantirnet/fix-urls-index-name
Browse files Browse the repository at this point in the history
Fix regression that popped up between #50 and #51
  • Loading branch information
froboy authored Dec 17, 2018
2 parents cbe3b06 + c9f1683 commit b5402ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SearchApiFederatedSolrUrls.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ protected function addUrl(array &$items) {
foreach ($items as &$item) {
$url = $this->index->datasource()->getItemUrl($item);
if (!$url) {
$item->search_api_urls = NULL;
$item->urls = NULL;
continue;
}
$item->search_api_urls = [url($url['path'], array('absolute' => TRUE) + $url['options'])];
$item->urls = [url($url['path'], array('absolute' => TRUE) + $url['options'])];
}
}

Expand Down

0 comments on commit b5402ee

Please sign in to comment.