From b8a80ae59ba63c8eed18a9e3b390508a6e469e0e Mon Sep 17 00:00:00 2001 From: Alex Marshall <43717456+alexjmarshall@users.noreply.github.com> Date: Mon, 18 Apr 2022 23:51:28 -0600 Subject: [PATCH] Update README.md Update text to reflect updates to SearchViewModel properties. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index aac5b60..733d8c9 100644 --- a/README.md +++ b/README.md @@ -1694,10 +1694,10 @@ In `SearchController`, lets update the model with the total number of pages: ```csharp var model = new SearchViewModel { - Packages = result.Documents, - Total = result.Total, - Form = form, - TotalPages = (int)Math.Ceiling(result.Total / (double)form.PageSize) + Hits = result.Hits, + Total = result.Total, + Form = form, + TotalPages = (int)Math.Ceiling(result.Total / (double)form.PageSize) }; ```