<br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 7:30 PM, Marc Delisle <span dir="ltr"><<a href="mailto:marc@infomarc.info">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;">
Le 2011-07-15 09:56, Ammar Yasir a écrit :<br>
> On Fri, Jul 15, 2011 at 7:19 PM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>> wrote:<br>
><br>
>> Le 2011-07-14 15:39, Ammar Yasir a écrit :<br>
>>> On Fri, Jul 15, 2011 at 1:01 AM, Ammar Yasir <<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a><br>
>>> wrote:<br>
>>><br>
>>>><br>
>>>><br>
>>>> On Fri, Jul 15, 2011 at 12:59 AM, Ammar Yasir <<a href="mailto:ammaryasir.88@gmail.com">ammaryasir.88@gmail.com</a><br>
>>> wrote:<br>
>>>><br>
>>>>><br>
>>>>><br>
>>>>> On Wed, Jul 13, 2011 at 3:24 AM, Ammar Yasir <<a href="mailto:ayax88@gmail.com">ayax88@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> On Tue, Jul 12, 2011 at 6:32 PM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a><br>
>>> wrote:<br>
>>>>>><br>
>>>>>>> Le 2011-07-11 21:26, Ammar Yasir a écrit :<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On Mon, Jul 11, 2011 at 3:16 AM, Marc Delisle <<a href="mailto:marc@infomarc.info">marc@infomarc.info</a><br>
>>>>>>>> <mailto:<a href="mailto:marc@infomarc.info">marc@infomarc.info</a>>> wrote:<br>
>>>>>>>><br>
>>>>>>>>     Le 2011-07-09 22:59, Ammar Yasir a écrit :<br>
>>>>>>>>      ><br>
>>>>>>>>      ><br>
>>>>>>>>      > I've done a basic version of edit functionality. I added a<br>
>>>>>>> unique<br>
>>>>>>>>      > identifier for each row in the query result data by using the<br>
>>>>>>>>      > PMA_getUniqueCondition() from the common.lib.php file<br>
>>>>>>>>     (where_clause). I<br>
>>>>>>>>      > then generate the update query in the edit submit event using<br>
>>>>>>>>     this where<br>
>>>>>>>>      > clause and post it to sql.php. The return data is added to<br>
>> the<br>
>>>>>>>>      > <sqlqueryresult> div to show the query executed and the<br>
>>>>>>> message. The<br>
>>>>>>>>      > plot also updates on submit if one of the axes is updated. Is<br>
>>>>>>> my<br>
>>>>>>>>     logic<br>
>>>>>>>>      > is okay?<br>
>>>>>>>>      > I've pushed my work and you can try scenarios on the<br>
>> film_actor<br>
>>>>>>>>     table in<br>
>>>>>>>>      > the sakila database.<br>
>>>>>>>><br>
>>>>>>>>     Ammar,<br>
>>>>>>>>     I tried with the film table, changing the "title" column and got<br>
>>>>>>>>     this error:<br>
>>>>>>>>     value is undefined at line 177 in js/tbl_zoom_plot.js.<br>
>>>>>>>><br>
>>>>>>>> Fixed some issues and pushed it to my repo. Had to add checkboxes<br>
>> for<br>
>>>>>>>> null condition on fields (in Data point content section).<br>
>>>>>>><br>
>>>>>>> It works fine now.<br>
>>>>>>> Please don't forget the issue of generating the default data label<br>
>> based<br>
>>>>>>> on the "display field".<br>
>>>>>>><br>
>>>>>><br>
>>>>> Fixed this, default label is taken from table display field.<br>
>><br>
>> It still does not work. When I initially enter Zoom search, $zoom_submit<br>
>> and $inputs are not defined so $dataLabel does not receive the results<br>
>> of PMA_getDisplayField($db,$table).<br>
>><br>
>> I think I misunderstood. What I am doing is that, if a user does not<br>
> selects a datalabel, it defaults to the display field. That works fine. I<br>
> guess what you are saying is that the default selected value/index should be<br>
> the display field?<br>
<br>
When a user enters zoom-search, it would be very reassuring to see that<br>
the default label is set to the display column (from<br>
PMA_getDisplayField()). Otherwise, the user who has already set this<br>
display column in Relation view will wonder what's going on.<br>
<br></blockquote><div>Yes true. Made the changes and pushed to my repo. <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
--<br>
Marc Delisle<br>
<a href="http://infomarc.info" target="_blank">http://infomarc.info</a><br>
<br>
------------------------------------------------------------------------------<br>
AppSumo Presents a FREE Video for the SourceForge Community by Eric<br>
Ries, the creator of the Lean Startup Methodology on "Lean Startup<br>
Secrets Revealed." This video shows you how to validate your ideas,<br>
optimize your ideas and identify your business strategy.<br>
<a href="http://p.sf.net/sfu/appsumosfdev2dev" target="_blank">http://p.sf.net/sfu/appsumosfdev2dev</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>