From ae33051ab7a1212e0dadbec4d67c75b29067f4be Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 17 Aug 2010 00:08:44 +0200 Subject: [PATCH] MFB: We only show name columns if no columns have been specified in the prefs. So only retrieve the name column. --- turba/lib/View/Browse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/turba/lib/View/Browse.php b/turba/lib/View/Browse.php index 6c71b5ead..ff645d489 100644 --- a/turba/lib/View/Browse.php +++ b/turba/lib/View/Browse.php @@ -385,7 +385,7 @@ class Turba_View_Browse { $type_filter = array('__type' => 'Group'); break; } - $results = $driver->search($type_filter, $sortorder, 'AND', $columns); + $results = $driver->search($type_filter, $sortorder, 'AND', $columns ? $columns : array('name')); if (!is_object($results)) { $notification->push(_("Failed to browse the directory"), 'horde.error'); } elseif (is_a($results, 'PEAR_Error')) { -- 2.11.0