From: Leonard T. <l.t...@mp...> - 2005-09-30 08:22:29
|
Hi Carsten Nicht so schnell :-) We just discovered a little bug yesterday. If you search for something with just one result (a name) you get "1 Result" but the resulting table is empty. It's something with the usort, so doing if($this->total_records > 1) { usort($ldap_fields, create_function('$a, $b', $function)); } helps. If there is only one result, you don't need to sort it (what for anyway) Cheers Leonard Carsten Wolff schrieb: >Hi all. > >Thank you very much for testing this, Leonard. The result is much better, than >I expected. :-) > >I will commit this to stable and to HEAD. In HEAD I'll additionally remove the >old a[r]sortbyindex() functions. I don't want to do this in stable, because >they're part of the API and maybe some 3rd party is using them. > >Cheers, >Carsten > > > |