Permalink
Browse files

Bug 707278 - Grouping of results fail when using built-in javascript …

…search
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Dec 18, 2016
1 parent 5e894a7 commit 0615b1b023f7888dfdbeee7673d6d0bcc7b803df
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/searchindex.cpp
View
@@ -1263,10 +1263,10 @@ SearchIndexList::~SearchIndexList()
void SearchIndexList::append(Definition *d)
{
SearchDefinitionList *l = find(d->name());
QCString dispName = d->localName();
SearchDefinitionList *l = find(dispName);
if (l==0)
{
QCString dispName = d->localName();
if (d->definitionType()==Definition::TypeGroup)
{
dispName = ((GroupDef*)d)->groupTitle();
@@ -1276,7 +1276,7 @@ void SearchIndexList::append(Definition *d)
dispName = ((PageDef*)d)->title();
}
l=new SearchDefinitionList(searchId(dispName),dispName);
SDict< SearchDefinitionList >::append(d->name(),l);
SDict< SearchDefinitionList >::append(dispName,l);
}
l->append(d);
}

0 comments on commit 0615b1b

Please sign in to comment.