[Phpmyadmin-devel] Column reordering

Marc Delisle marc at infomarc.info
Wed Jun 15 14:15:10 CEST 2011


Marc Delisle a écrit :
> Le 2011-06-14 20:39, Aris Feryanto a écrit :
> 
>>> Two other things.
>>>
>>> 1. I get a notice when browsing sakila.actor. I'm not sure when
>>> this notice started to show but here it is:
>>>
>>> Notice in ./libraries/display_tbl.lib.php#492 Undefined index:
>>> 14b4d4f7c160f209e980cfb221bb3117
>>>
>>> Backtrace
>>>
>>> ./libraries/display_tbl.lib.php#2255: PMA_displayTableHeaders( 
>>> array, array, integer 4, array, string `actor`.`first_name` DESC, 
>>> string `actor`.`first_name`, string DESC, ) ./sql.php#925:
>>> PMA_displayTable( object, string urdr111111, array, )
>>>
>>
>> The first issue above also fixed. It was caused by "Remember sorting"
>> feature. Previously, I changed the $sql_query directly to get the
>> ORDER BY syntax printed. I've changed the code to follow same logic
>> as appending LIMIT to fix this issue. Changes can be found under
>> "tablesort" branch in my git.
> 
> Fix confirmed.
> 
>>> 2. "Restore column order" is not persistent. After restoring and 
>>> clicking anything (next, end, Browse), the modified column order
>>> comes back.
>>>
>> Odd, the restore column order always work for me. Could you give
>> details of the scenario? Maybe it caused by some delay in the
>> connection, so the AJAX request to restore the column order has not
>> sent successfully before you clicked next, end, or Browse.
> 
> I'm at home now and cannot reproduce with FF 4.0.1 under Vista. I saw
> this at work under XP so I'll try it tomorrow.
> 
> 
I can no longer reproduce this, so the new features are merged:

- Flexible column width
- Mouse-based column reordering on query results

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list