From d2474b91121e9083395e71a95191a12e94b344d8 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 23 May 2012 10:12:43 -0300 Subject: [PATCH] Set the title. --- fedora_repository.module | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fedora_repository.module b/fedora_repository.module index 351ad359..56790fbc 100644 --- a/fedora_repository.module +++ b/fedora_repository.module @@ -1107,6 +1107,8 @@ function fedora_repository_get_items($pid = NULL, $dsId = NULL, $collection = NU $breadcrumbs = array(); $objectHelper->getBreadcrumbs($pid, $breadcrumbs); drupal_set_breadcrumb(array_reverse($breadcrumbs)); + + drupal_set_title(truncate_utf8($item->objectProfile->objLabel, 56, TRUE, TRUE)); $content_models = $objectHelper->get_content_models_list($pid);