From 4dae30b71b9eb2028371e24d5fc2a1c57aa18212 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 5 Feb 2020 18:40:50 +0000 Subject: [PATCH] B2020-016 Improved pagination logic with respect to step with second RNOs --- PROMS/Volian.Print.Library/Pagination.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/Pagination.cs b/PROMS/Volian.Print.Library/Pagination.cs index 28bafd2c..0c925460 100644 --- a/PROMS/Volian.Print.Library/Pagination.cs +++ b/PROMS/Volian.Print.Library/Pagination.cs @@ -1616,7 +1616,8 @@ namespace Volian.Print.Library foreach (float yLocation in myList[stepLevel+1].Keys) // loop thru yLocation from pagination list { if ((-yLocation + yStart) >= yLowerLimit) - return true; // has a second RNO that will fit + if (myList[stepLevel + 1][yLocation].MyParent.MyItemInfo.IsRNOPart) // B2020-016 for Robinson AOP-010 step 27 was breaking too soon + return true; // has a second RNO that will fit } } return false;