From c80ac7cbe9971a4a970b429a5250ddd04e6f7081 Mon Sep 17 00:00:00 2001 From: Lyndon Jetten Date: Wed, 17 Jan 2024 17:06:46 +0100 Subject: [PATCH] MoK: Pagination-Bug behoben --- BeWoPlanerMobil/BeWoPlanerMobil.csproj | 2 +- BeWoPlanerMobil/Views/Main/ServiceRecordListPartial.cshtml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/BeWoPlanerMobil/BeWoPlanerMobil.csproj b/BeWoPlanerMobil/BeWoPlanerMobil.csproj index e905f8882..81be55fd6 100644 --- a/BeWoPlanerMobil/BeWoPlanerMobil.csproj +++ b/BeWoPlanerMobil/BeWoPlanerMobil.csproj @@ -5126,7 +5126,7 @@ - False + True False 8808 / diff --git a/BeWoPlanerMobil/Views/Main/ServiceRecordListPartial.cshtml b/BeWoPlanerMobil/Views/Main/ServiceRecordListPartial.cshtml index 9be3d8db6..5c0fcd5d0 100644 --- a/BeWoPlanerMobil/Views/Main/ServiceRecordListPartial.cshtml +++ b/BeWoPlanerMobil/Views/Main/ServiceRecordListPartial.cshtml @@ -106,7 +106,8 @@ } @{ - var nextButtonsClass = Model.CurrentPage == Model.ServiceRecordPageCount || Model.ServiceRecordPageCount < 6 ? "disabled" : string.Empty; + //var nextButtonsClass = Model.CurrentPage == Model.ServiceRecordPageCount || Model.ServiceRecordPageCount < 6 ? "disabled" : string.Empty; + var nextButtonsClass = Model.CurrentPage == Model.ServiceRecordPageCount ? "disabled" : string.Empty; }