From 1320410f17352b83c83612a943cc0b4fa6e45d13 Mon Sep 17 00:00:00 2001 From: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com> Date: Wed, 25 Oct 2023 17:04:37 +0700 Subject: [PATCH] =?UTF-8?q?`getRowCount()`=20=D0=BE=D1=82=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D1=8F=D0=B5=D1=82=D1=81=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/Presenters/templates/Search/Index.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, ]}