[Phpmyadmin-devel] Remember the last way user sorted tables

Marc Delisle marc at infomarc.info
Tue May 24 14:45:46 CEST 2011


Piotr Przybylski a écrit :
> 2011/5/24 Aris Feryanto <aris_feryanto at yahoo.com>:
>> Hi all,
>> I've pushed the implementation of feature "Remember the last way user sorted
>> tables" when browsing tables. You may try it at the demo server [0].
>> Current implementation only remember the sorting in the session variable.
>> So, when you logout and login again, the sorting will be refreshed.
>> In order to keep it persistent across session, I will add a new table in
>> phpMyAdmin database and store the sorting and maybe other "browsing"-related
>> data in there later.
> 
> If you store all data in memory, I think you can use pma_userconfig
> table for that, just add a new text column for serialized data.

I think it's preferable not to modify this table's structure. It will be 
easier to handle for users and packagers, to have a new table, rather 
than changing the structure of the existing table.

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list