<div dir="ltr">I checked the <font face="arial, sans-serif">pma__table_uiprefs table. It's true that it stores the latest "sort query". But even though I emptied that table, still records of a particular table remain in the order which was sorted earlier. That means sorting order doesn't get lost. But if I use a new browser window the sorting order get lost. So I think it saves the current table order in '</font><span style="font-family:arial,sans-serif">pma__table_uiprefs' table as well as in </span><font face="arial, sans-serif">the session. But it doesn't use the data saved in the '</font><span style="font-family:arial,sans-serif">pma__table_uiprefs' table to sort the tables</span><span style="font-family:arial,sans-serif">. It uses the data saved in the session to sort the tables. Am I making sense to you ?</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 23, 2014 at 2:28 AM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info" target="_blank">marc@infomarc.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Viduranga Wijesooriya a écrit :<br>
<div><div class="h5">> Hi,<br>
> This regarding <a href="https://sourceforge.net/p/phpmyadmin/bugs/4245/" target="_blank">https://sourceforge.net/p/phpmyadmin/bugs/4245/</a> .<br>
> I tried to fix it for hours, but I couldn't figure out some of the things.<br>
> Bug is, phpmyadmin seems to loose the current 'select query' text after<br>
> clicking the browse button or selecting the same table again from the<br>
> navigation panel. But it seems to have stored the current order of the<br>
> table and also the value of "sort by key" select box. So I need to find out<br>
> how they are stored. So we can use the same method to store the query also.<br>
> Can please you help ?<br>
><br>
> Thank you<br>
<br>
</div></div>Hi,<br>
look at the phpMyAdmin configuration storage, pma__table_uiprefs. But do<br>
not store the query, just ensure that the displayed query contains the<br>
sorting parts.<br>
<br>
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a> | <a href="http://phpmyadmin.net" target="_blank">http://phpmyadmin.net</a><br>
<br>
------------------------------------------------------------------------------<br>
CenturyLink Cloud: The Leader in Enterprise Cloud Services.<br>
Learn Why More Businesses Are Choosing CenturyLink Cloud For<br>
Critical Workloads, Development Environments & Everything In Between.<br>
Get a Quote or Start a Free Trial Today.<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk</a><br>
_______________________________________________<br>
Phpmyadmin-devel mailing list<br>
<a href="mailto:Phpmyadmin-devel@lists.sourceforge.net">Phpmyadmin-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Best Regards</span><div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Viduranga Wijesooriya</span></div>
</div>