Comment 27 for bug 394711

Revision history for this message
Albert Cervera i Areny - http://www.NaN-tic.com (albert-nan) wrote : Re: [Bug 394711] Re: can not sort columns

A Divendres, 13 de novembre de 2009, Ferdinand @ ChriCar va escriure:
> Then I do not understand your comment here
> http://bazaar.launchpad.net/~openobject-client-kde/openobject-client-kde/5.
> 0/revision/1153
>

I quote the comment you mention:

"Ensure SortingVisibleItems mode works properly. This includes using
SortAllItems mode in OneToMany and ManyToMany fields, so we set
SortingAllItems the default mode for RecordGroup and change it only when
needed: FormWidget and SearchDialog."

What this patch fixes is the use of "SortingVisibleItems" mode. This mode
behaves like the gtk client by loading only the first X (80, by default)
records. The comment says that this mode is not used in OneToMany and
ManyToMany fields because it would mean that even if a partner had 100
addresses, only the first 80 would be loaded.

It has nothing to do with sorting of o2m and m2m in "SortAllItems" mode (which
is the default).

--
Albert Cervera i Areny
http://www.NaN-tic.com
Mòbil: +34 669 40 40 18