Browse Source

resolved issue with the random record page

main
Simon Bowie 2 years ago
parent
commit
bfe918f78b
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      site/public/random.php
  2. +1
    -1
      site/solr.php

+ 2
- 0
site/public/random.php View File

@@ -29,9 +29,11 @@ $publication_details = get_publication_details($random_record['doc_ref']);
<div class="container-fluid">
Application ID:

<a href="id_search.php?id=<? echo $random_record['id']; ?>&core=all">
<?php
echo $random_record['application_id'];
?>
</a>

<br><br>


+ 1
- 1
site/solr.php View File

@@ -143,7 +143,7 @@ function one_random_record (){
$random = get_random_record();

foreach ($random as $id => $content){
$output = parse_result($content);
$output = parse_result($id, $content);
}
return $output;
}

Loading…
Cancel
Save