bellengao e2effa9fab Fix inaccurate total hit count in _search template api ()
When 'rest_track_total_hits_as_int' is set to true, the total hits count in the response should be accurate. So we should set trackTotalHits to true if need when parsing the inline script of a search template request.

Closes 
2020-03-16 11:48:43 +01:00
..