From 61cc96d1bfb0ff236806f2921fc85dd001d483ff Mon Sep 17 00:00:00 2001 From: MorganDawe Date: Wed, 6 Jan 2016 16:10:36 -0400 Subject: [PATCH] Adding pid to object_mapper utility --- theme/theme.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/theme/theme.inc b/theme/theme.inc index dea4a616..b865ff81 100644 --- a/theme/theme.inc +++ b/theme/theme.inc @@ -289,6 +289,7 @@ function islandora_objects_object_mapper($object_id) { 'link' => l($o->label, $url, $link_options), 'thumb' => l($img, $url, $link_options), 'description' => $description, + 'pid' => $o->id, ); } else { @@ -299,6 +300,7 @@ function islandora_objects_object_mapper($object_id) { 'link' => l(t('(Unknown)'), $url, $link_options), 'thumb' => '', 'description' => '', + 'pid' => $object_id, ); } }