aboutsummaryrefslogtreecommitdiff
path: root/tests/subfield.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/subfield.php')
-rw-r--r--tests/subfield.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/subfield.php b/tests/subfield.php
index 892f2b5..117b8ce 100644
--- a/tests/subfield.php
+++ b/tests/subfield.php
@@ -41,10 +41,11 @@ if ($isis->db) {
$display->navbar($entry, $entries, $repetition, '&field='. $field . '&subfield='. $subfield);
// Format output.
+ $link = $display->entry_link($entry);
echo "<pre>\n";
echo "Selected field: $field: $field_name.\n";
echo "Selected subfield: $subfield: $subfield_name.\n";
- echo "Showing entry $entry from $entries total entries.\n";
+ echo "Showing entry ". $display->entry_link($entry) ." from $entries total entries.\n";
echo "Repetitions found: ". count($result[$field]) .".\n";
echo "\n";
print_r($result[$field_name]);