Commit e86f7b9c authored by Jérome Perrin's avatar Jérome Perrin

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
parent 5d49f196
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment