Discussion:
[Erp5-dev] something wrong in ERP5Form/Selection.py?
Bartłomiej Górny
2006-12-21 12:31:02 UTC
Permalink
Hello

I wonder if this part of ERP5Form/Selection.py is ok:

192 elif kw.has_key('sort_on'):
193 del kw.params['sort_on']

kw is a copy of params, and params is a dict, so if this line if reached it
fails with an AttributeError.

The other problem is that if I use two listboxes that share the same
selection, the sort_on parameter is lost when going from one listbox to
another, while I would expect it to be persistent.

Bartek

Loading...