Skip to content

Commit 0615b1b

Browse files
author
Dimitri van Heesch
committed
Bug 707278 - Grouping of results fail when using built-in javascript search
1 parent 5e894a7 commit 0615b1b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/searchindex.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,10 +1263,10 @@ SearchIndexList::~SearchIndexList()
12631263

12641264
void SearchIndexList::append(Definition *d)
12651265
{
1266-
SearchDefinitionList *l = find(d->name());
1266+
QCString dispName = d->localName();
1267+
SearchDefinitionList *l = find(dispName);
12671268
if (l==0)
12681269
{
1269-
QCString dispName = d->localName();
12701270
if (d->definitionType()==Definition::TypeGroup)
12711271
{
12721272
dispName = ((GroupDef*)d)->groupTitle();
@@ -1276,7 +1276,7 @@ void SearchIndexList::append(Definition *d)
12761276
dispName = ((PageDef*)d)->title();
12771277
}
12781278
l=new SearchDefinitionList(searchId(dispName),dispName);
1279-
SDict< SearchDefinitionList >::append(d->name(),l);
1279+
SDict< SearchDefinitionList >::append(dispName,l);
12801280
}
12811281
l->append(d);
12821282
}

0 commit comments

Comments
 (0)