Skip to content

Commit

Permalink
Update search result id
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniekung committed Jun 20, 2024
1 parent ceb2768 commit 5122f96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/task/search/arSolrSearchTask.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private function runSolrQuery($solrInstance, $queryText, $rows, $start, $fields)
$docs = $solrInstance->search($query, 'QubitInformationObject');
if ($docs) {
foreach ($docs as $resp) {
$this->log(sprintf('%s - %s', $resp->id, $resp->{'QubitInformationObject.i18n.en.title'}[0]));
$this->log(sprintf('%s - %s', $resp->{'QubitInformationObject.id'}[0], $resp->{'QubitInformationObject.i18n.en.title'}[0]));

// print entire object if no title is present
if (!$resp->{'QubitInformationObject.i18n.en.title'}[0]) {
Expand Down

0 comments on commit 5122f96

Please sign in to comment.