corrected generation of full search result
This commit is contained in:
parent
f5334ea2b6
commit
0c2e123d42
@ -65,6 +65,7 @@ void JsonGenerator::writeFullSearchResult(rapidjson::Writer<rapidjson::StringBuf
|
||||
jsonWriter.StartObject();
|
||||
jsonWriter.String("totalCount");
|
||||
jsonWriter.Int(result.getTotalCount());
|
||||
jsonWriter.String("occurences");
|
||||
jsonWriter.StartArray();
|
||||
|
||||
BOOST_FOREACH(ExampleOccurence occurence, result.getOccurences()) {
|
||||
|
Loading…
Reference in New Issue
Block a user