PHRAS-937 - fix navigation in preview

This commit is contained in:
Florian BLOUET
2016-02-08 11:19:24 +01:00
parent 258be3e158
commit d00509fba3
3 changed files with 16 additions and 5 deletions

View File

@@ -156,7 +156,11 @@ class QueryController extends Controller
. $this->app->trans('%total% reponses', ['%total%' => '<span>'.$result->getTotal().'</span>']) . '</a>';
$json['infos'] = $infoResult;
$json['navigation'] = $string;
$json['navigationTpl'] = $string;
$json['navigation'] = [
'page' => $page,
'perPage' => $perPage
];
$prop = null;