diff --git a/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Listbox_asJSON.xml b/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Listbox_asJSON.xml index 2f032897141d780435d2a1cf8501fe43607f89a7..6efb331c7a9a165c622e305215a806e9de6855ce 100644 --- a/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Listbox_asJSON.xml +++ b/bt5/erp5_xhtml_gadget_style/SkinTemplateItem/portal_skins/erp5_xhtml_gadget_style/Listbox_asJSON.xml @@ -94,7 +94,7 @@ current_page_stop = (total_line < current_page_max) and total_line or current_p #context.log("%s %s %s %s %s %s" %(listbox_max_lines, total_line, current_page,\n # current_page_max, current_page_start, current_page_stop))\n \n -json = {"page": current_page,\n +json = {"page": page,\n "total": total_pages,\n "records": total_line,\n "rows":row_list}\n diff --git a/bt5/erp5_xhtml_gadget_style/bt/revision b/bt5/erp5_xhtml_gadget_style/bt/revision index 56a6051ca2b02b04ef92d5150c9ef600403cb1de..d8263ee9860594d2806b0dfd1bfd17528b0ba2a4 100644 --- a/bt5/erp5_xhtml_gadget_style/bt/revision +++ b/bt5/erp5_xhtml_gadget_style/bt/revision @@ -1 +1 @@ -1 \ No newline at end of file +2 \ No newline at end of file