fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [14677] condition survey: include address in query


From: Sigurd Nes
Subject: [Fmsystem-commits] [14677] condition survey: include address in query
Date: Mon, 25 Jan 2016 13:16:09 +0000

Revision: 14677
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=14677
Author:   sigurdne
Date:     2016-01-25 13:16:09 +0000 (Mon, 25 Jan 2016)
Log Message:
-----------
condition survey: include address in query

Modified Paths:
--------------
    trunk/property/inc/class.socondition_survey.inc.php

Modified: trunk/property/inc/class.socondition_survey.inc.php
===================================================================
--- trunk/property/inc/class.socondition_survey.inc.php 2016-01-25 12:58:56 UTC 
(rev 14676)
+++ trunk/property/inc/class.socondition_survey.inc.php 2016-01-25 13:16:09 UTC 
(rev 14677)
@@ -86,7 +86,7 @@
                        if($query)
                        {
                                $query                  = 
$this->_db->db_addslashes($query);
-                               $querymethod    = " {$where} {$table}.title 
{$this->_like} '%{$query}%'";
+                               $querymethod    = " {$where} {$table}.title 
{$this->_like} '%{$query}%' OR {$table}.address {$this->_like} '%{$query}%'";
                        }
 
                        $groupmethod = "GROUP BY $table.id, $table.title, 
$table.descr, $table.address, $table.entry_date, $table.user_id, org_name, 
$table.multiplier";




reply via email to

[Prev in Thread] Current Thread [Next in Thread]