Skip to content

Commit

Permalink
Bug 724949 - Server side (PHP) search broke in 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Mar 1, 2014
1 parent 8eeaae0 commit 1d2bb19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/memberdef.cpp
Expand Up @@ -1418,6 +1418,7 @@ void MemberDef::writeDeclaration(OutputList &ol,
if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else d=gd;

_writeTagData(compoundType);
_addToSearchIndex();

QCString cname = d->name();
QCString cdname = d->displayName();
Expand Down Expand Up @@ -3610,7 +3611,6 @@ void MemberDef::_writeTagData(const DefType compoundType)
}
writeDocAnchorsToTagFile();
Doxygen::tagFile << " </member>" << endl;
_addToSearchIndex();
}
m_impl->tagDataWritten |= typeMask;
}
Expand Down Expand Up @@ -3740,6 +3740,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
if (isLinkableInProject() || hasDocumentedEnumValues())
{
_writeTagData(compoundType);
_addToSearchIndex();
writeLink(typeDecl,cd,nd,fd,gd);
}
else
Expand Down Expand Up @@ -3788,6 +3789,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
if (fmd->hasDocumentation()) // enum value has docs
{
fmd->_writeTagData(compoundType);
fmd->_addToSearchIndex();
fmd->writeLink(typeDecl,cd,nd,fd,gd);
}
else // no docs for this enum value
Expand Down

0 comments on commit 1d2bb19

Please sign in to comment.