Fixed wrong initial offset.

This commit is contained in:
2017-03-03 13:36:56 +01:00
parent bb25a8b12e
commit 2fc0c6f7b7

View File

@@ -96,7 +96,7 @@ feature -- HTTP Methods
until until
nb = l_size or l_exhausted nb = l_size or l_exhausted
loop loop
create l_params.make (1 + (pg * 25), 25) create l_params.make (pg * 25, 25)
if attached node_api.recent_published_nodes_of_type (a_content_type, l_params) as lst then if attached node_api.recent_published_nodes_of_type (a_content_type, l_params) as lst then
l_exhausted := True l_exhausted := True
across across