Updated the CMS pagination component.
Harmonized count type to NATURAL_64 for recent_nodes (more to do later). Fix get is active code.
This commit is contained in:
@@ -14,4 +14,10 @@ create
|
||||
make,
|
||||
make_from_manifest
|
||||
|
||||
convert
|
||||
make_from_manifest ({ ARRAY [TUPLE [key: STRING; value: detachable ANY]],
|
||||
ARRAY [TUPLE [STRING_8, ARRAY [TUPLE [STRING_8, STRING_32]]]],
|
||||
ARRAY [TUPLE [STRING_8, ARRAY [TUPLE [STRING_8, STRING_8]]]]
|
||||
})
|
||||
|
||||
end
|
||||
|
||||
@@ -1065,6 +1065,9 @@ feature -- Generation
|
||||
l_is_active: BOOLEAN
|
||||
do
|
||||
create qs.make_from_string (request.percent_encoded_path_info)
|
||||
if qs.starts_with ("/") then
|
||||
qs.remove_head (1)
|
||||
end
|
||||
l_is_active := qs.same_string (a_lnk.location)
|
||||
if not l_is_active then
|
||||
if attached request.query_string as l_query_string and then not l_query_string.is_empty then
|
||||
|
||||
Reference in New Issue
Block a user