From ad42b555680a8f1663365545c6ea81495dc10792 Mon Sep 17 00:00:00 2001 From: Yoshinori Okuji <yo@nexedi.com> Date: Wed, 19 Jul 2006 14:23:39 +0000 Subject: [PATCH] Convert isReportOpened to int, because it was True or False. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8605 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/www/ListBox_asHTML.zpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Form/www/ListBox_asHTML.zpt b/product/ERP5Form/www/ListBox_asHTML.zpt index 73c1bc3f8c..c963d69f11 100644 --- a/product/ERP5Form/www/ListBox_asHTML.zpt +++ b/product/ERP5Form/www/ListBox_asHTML.zpt @@ -233,7 +233,7 @@ <td class="Data" style="width: 50px; text-align: left; vertical-align: middle" colspan="1" tal:attributes="colspan python: show_search_line and 1 or (len(here.getSelectedColumnList()) + show_select_column + 1)" tal:define="index python: selection_index is not None and '&selection_index=%s' % selection_index or ''; - is_report_opened python: not here.getSelection().isReportOpened(); + is_report_opened python: int(not here.getSelection().isReportOpened()); url here/getUrl"><tal:block tal:repeat="i python: range(0, 6)"> <a href="?selection_name=default&selection_index=0&report_depth:int=0" tal:attributes="href string:${url}?selection_name=${requested_selection_name}${index}&report_depth:int=${i}" tal:content="i">0</a></tal:block> - <a href="?selection_name=default&selection_index=0&is_report_opened:int=0" -- 2.30.9