Fix for pagination calculation error. Example - we run out of memory on 28th page of webapi endpoint, but we have 6 pages left. Before the fix these pages were ommited due to comparing start page to pages left calculated from remaining items. From now on we compare to global pages amount, so in that case 34.
Fix for pagination calculation error. Example - we run out of memory on 28th page of webapi endpoint, but we have 6 pages left. Before the fix these pages were ommited due to comparing start page to pages left calculated from remaining items. From now on we compare to global pages amount, so in that case 34.