From ef53b519850b586ce76fb5b12a759548d6f952f5 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 11 Jun 2008 03:29:56 +0000 Subject: [PATCH] fix a typo in the folder templating code that made titles get confused with menuTitles --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Asset/Wobject/Folder.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 80911e232..97d45a926 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -105,6 +105,7 @@ - added: Configure the amount of files shown per page in the Gallery - fix: Patch for Style.pm to identify which template failed to instantiate - fix: Admin Console templates have the same title + - fix: File Titles not displaying in folder 7.5.10 - fix: Syntax error in GetCsMail diff --git a/lib/WebGUI/Asset/Wobject/Folder.pm b/lib/WebGUI/Asset/Wobject/Folder.pm index 6e447fb9f..460dc3c65 100644 --- a/lib/WebGUI/Asset/Wobject/Folder.pm +++ b/lib/WebGUI/Asset/Wobject/Folder.pm @@ -189,7 +189,7 @@ sub view { id=>$child->getId, canView => $child->canView(), title=>$child->get("title"), - title=>$child->get("menuTitle"), + menuTitle=>$child->get("menuTitle"), synopsis=>$child->get("synopsis") || '', size=>WebGUI::Utility::formatBytes($child->get("assetSize")), "date.epoch"=>$child->get("revisionDate"),