summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-12-18 13:59:11 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-12-18 13:59:11 (GMT)
commit0615b1b023f7888dfdbeee7673d6d0bcc7b803df (patch)
tree36ed932069aa8aae226a66b3f00dbfbc40c83fc8 /src
parent5e894a760a6584ade2f5417e2577b66c65b51fd9 (diff)
downloadDoxygen-0615b1b023f7888dfdbeee7673d6d0bcc7b803df.zip
Doxygen-0615b1b023f7888dfdbeee7673d6d0bcc7b803df.tar.gz
Doxygen-0615b1b023f7888dfdbeee7673d6d0bcc7b803df.tar.bz2
Bug 707278 - Grouping of results fail when using built-in javascript search
Diffstat (limited to 'src')
-rw-r--r--src/searchindex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/searchindex.cpp b/src/searchindex.cpp
index 500ed65..18d007f 100644
--- a/src/searchindex.cpp
+++ b/src/searchindex.cpp
@@ -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);
}