diff --git a/Web/Presenters/templates/Search/Index.xml b/Web/Presenters/templates/Search/Index.xml index e59f4ff9..49271037 100644 --- a/Web/Presenters/templates/Search/Index.xml +++ b/Web/Presenters/templates/Search/Index.xml @@ -142,7 +142,7 @@ {include "../components/paginator.xml", conf => (object) [ "page" => $page, "count" => $count, - "amount" => $data->getRowCount(), + "amount" => sizeof($data), "perPage" => $perPage ?? OPENVK_DEFAULT_PER_PAGE, "atBottom" => false, ]}