webmcp
diff framework/env/ui/paginate.lua @ 91:2f8d8edd1836
URL parsing inside WebMCP to simplify webserver configuration
author | jbe |
---|---|
date | Wed Oct 10 17:41:46 2012 +0200 (2012-10-10) |
parents | ca3f7b001014 |
children | 774a891dc74f |
line diff
1.1 --- a/framework/env/ui/paginate.lua Tue Aug 21 00:59:08 2012 +0200 1.2 +++ b/framework/env/ui/paginate.lua Wed Oct 10 17:41:46 2012 +0200 1.3 @@ -35,8 +35,8 @@ 1.4 end 1.5 selector:limit(per_page) 1.6 selector:offset((current_page - 1) * per_page) 1.7 - local id = param.get_id_cgi() 1.8 - local params = param.get_all_cgi() 1.9 + local id = param.get_id_raw() 1.10 + local params = param.get_all_raw() 1.11 local function pagination_elements() 1.12 if page_count > 1 then 1.13 for page = 1, page_count do