Removed dependency from pagination to cms_data_query_parameters

TODO: review and fix any NATURAL_64 truncation.
This commit is contained in:
2015-06-02 15:56:27 +02:00
parent af8f410684
commit b8cfff487a
4 changed files with 17 additions and 20 deletions

View File

@@ -14,7 +14,7 @@ create
feature {NONE} -- Initialization
make (a_offset: NATURAL; a_size: NATURAL)
make (a_offset: NATURAL_64; a_size: NATURAL)
do
offset := a_offset
size := a_size
@@ -28,7 +28,7 @@ feature -- Access
size: NATURAL assign set_size
-- Number of items per page.
offset: NATURAL assign set_offset
offset: NATURAL_64 assign set_offset
-- lower index of `items' pagination.
order_by: detachable READABLE_STRING_8
@@ -47,7 +47,7 @@ feature -- Element change
size_set: size = a_size
end
set_offset (a_offset: NATURAL)
set_offset (a_offset: NATURAL_64)
-- Set offset with `a_offset'.
do
offset := a_offset