From e86f7b9c12a49269e74e17a68e72a55fb6b310d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 1 Aug 2008 11:47:49 +0000 Subject: [PATCH] use getSearchColumnIdSet to get columns that can be searched. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22817 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Form/Extensions/Folder_viewSearchDialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Form/Extensions/Folder_viewSearchDialog.py b/product/ERP5Form/Extensions/Folder_viewSearchDialog.py index d484360a5e..479f456357 100644 --- a/product/ERP5Form/Extensions/Folder_viewSearchDialog.py +++ b/product/ERP5Form/Extensions/Folder_viewSearchDialog.py @@ -212,8 +212,8 @@ def getSearchDialog(self, REQUEST=None): column_list = ListBoxListRenderer( listbox.widget, listbox, request).getAllColumnList() - search_list = [x[0] for x in ListBoxListRenderer( - listbox.widget, listbox, request).getSearchValueList()] + search_list = ListBoxListRenderer( + listbox.widget, listbox, request).getSearchColumnIdSet() for column_id, column_title in column_list: if column_id in search_list: -- 2.30.9