Commit 1d2bb19e authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 724949 - Server side (PHP) search broke in 1.8.3

parent 8eeaae0b
...@@ -1418,6 +1418,7 @@ void MemberDef::writeDeclaration(OutputList &ol, ...@@ -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; if (cd) d=cd; else if (nd) d=nd; else if (fd) d=fd; else d=gd;
_writeTagData(compoundType); _writeTagData(compoundType);
_addToSearchIndex();
QCString cname = d->name(); QCString cname = d->name();
QCString cdname = d->displayName(); QCString cdname = d->displayName();
...@@ -3610,7 +3611,6 @@ void MemberDef::_writeTagData(const DefType compoundType) ...@@ -3610,7 +3611,6 @@ void MemberDef::_writeTagData(const DefType compoundType)
} }
writeDocAnchorsToTagFile(); writeDocAnchorsToTagFile();
Doxygen::tagFile << " </member>" << endl; Doxygen::tagFile << " </member>" << endl;
_addToSearchIndex();
} }
m_impl->tagDataWritten |= typeMask; m_impl->tagDataWritten |= typeMask;
} }
...@@ -3740,6 +3740,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl, ...@@ -3740,6 +3740,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
if (isLinkableInProject() || hasDocumentedEnumValues()) if (isLinkableInProject() || hasDocumentedEnumValues())
{ {
_writeTagData(compoundType); _writeTagData(compoundType);
_addToSearchIndex();
writeLink(typeDecl,cd,nd,fd,gd); writeLink(typeDecl,cd,nd,fd,gd);
} }
else else
...@@ -3788,6 +3789,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl, ...@@ -3788,6 +3789,7 @@ void MemberDef::writeEnumDeclaration(OutputList &typeDecl,
if (fmd->hasDocumentation()) // enum value has docs if (fmd->hasDocumentation()) // enum value has docs
{ {
fmd->_writeTagData(compoundType); fmd->_writeTagData(compoundType);
fmd->_addToSearchIndex();
fmd->writeLink(typeDecl,cd,nd,fd,gd); fmd->writeLink(typeDecl,cd,nd,fd,gd);
} }
else // no docs for this enum value else // no docs for this enum value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment