Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, March 29, 2024

Diff for phpMyEdit/phpMyEdit.class.php between version 1.191 and 1.192

version 1.191, 2007/04/11 19:55:57 version 1.192, 2007/04/11 20:06:35
Line 539  class phpMyEdit
Line 539  class phpMyEdit
                 return $ret;                  return $ret;
         } /* }}} */          } /* }}} */
   
           function get_SQL_main_list_query($qparts) /* {{{ */
           {
                   return $this->get_SQL_query($qparts);
           } /* }}} */
   
   
   
         function get_SQL_query($parts) /* {{{ */          function get_SQL_query($parts) /* {{{ */
         {          {
                 foreach ($parts as $k => $v) {                  foreach ($parts as $k => $v) {
Line 2016  function '.$this->js['prefix'].'filter_h
Line 2023  function '.$this->js['prefix'].'filter_h
                                 'select' => 'count(*)',                                  'select' => 'count(*)',
                                 'from'   => $this->get_SQL_join_clause(),                                  'from'   => $this->get_SQL_join_clause(),
                                 'where'  => $this->get_SQL_where_from_query_opts());                                  'where'  => $this->get_SQL_where_from_query_opts());
                 $res = $this->myquery($this->get_SQL_query($count_parts), __LINE__);                  $res = $this->myquery($this->get_SQL_main_list_query($count_parts), __LINE__);
                 $row = $this->sql_fetch($res, 'n');                  $row = $this->sql_fetch($res, 'n');
                 $this->total_recs = $row[0];                  $this->total_recs = $row[0];
         } /* }}} */          } /* }}} */
Line 2184  function '.$this->js['prefix'].'filter_h
Line 2191  function '.$this->js['prefix'].'filter_h
                  * $this->sql_field_len() function. We will also fetch the first row to get                   * $this->sql_field_len() function. We will also fetch the first row to get
                  * the field names.                   * the field names.
                  */                   */
                 $query = $this->get_SQL_query($qparts);                  $query = $this->get_SQL_main_list_query($qparts);
                 $res   = $this->myquery($query, __LINE__);                  $res   = $this->myquery($query, __LINE__);
                 if ($res == false) {                  if ($res == false) {
                         $this->error('invalid SQL query', $query);                          $this->error('invalid SQL query', $query);

Legend:
Removed from v.1.191  
changed lines
  Added in v.1.192

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top