Skip to content

Commit 4b90355

Browse files
committed
issue #10642 Group titles not carried over into External Search
Set name to the title instead of using the label.
1 parent 4c99c07 commit 4b90355

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/searchindex.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,14 @@ void SearchIndexExternal::setCurrentDoc(const Definition *ctx,const QCString &an
468468
{
469469
e.args = (toMemberDef(ctx))->argsString();
470470
}
471+
else if (ctx->definitionType()==Definition::TypeGroup)
472+
{
473+
const GroupDef *gd = toGroupDef(ctx);
474+
if (!gd->groupTitle().isEmpty())
475+
{
476+
e.name = filterTitle(gd->groupTitle());
477+
}
478+
}
471479
e.extId = extId;
472480
e.url = url;
473481
it = m_docEntries.insert({key.str(),e}).first;

0 commit comments

Comments
 (0)