projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc2d8ef
)
Use Virtual Folder labeling instead of querytext in dimp
author
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 23 Sep 2010 19:11:11 +0000
(13:11 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 23 Sep 2010 21:06:53 +0000
(15:06 -0600)
imp/lib/Views/ListMessages.php
patch
|
blob
|
history
diff --git
a/imp/lib/Views/ListMessages.php
b/imp/lib/Views/ListMessages.php
index
d12249c
..
f6cbdbf
100644
(file)
--- a/
imp/lib/Views/ListMessages.php
+++ b/
imp/lib/Views/ListMessages.php
@@
-148,12
+148,14
@@
class IMP_Views_ListMessages
/* The search query may have changed. */
if ($is_search &&
($args['initial'] || strlen($args['qsearchmbox']))) {
- $md->slabel = $imp_search[$mbox]->querytext;
if ($imp_search->isVFolder($mbox)) {
+ $md->slabel = $imp_search[$mbox]->label;
$md->vfolder = 1;
if (!$imp_search->isVFolder($mbox, true)) {
$md->noedit = 1;
}
+ } else {
+ $md->slabel = $imp_search[$mbox]->querytext;
}
}