fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12920] fix live search


From: Sigurd Nes
Subject: [Fmsystem-commits] [12920] fix live search
Date: Sat, 28 Mar 2015 12:40:22 +0000

Revision: 12920
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12920
Author:   sigurdne
Date:     2015-03-28 12:40:21 +0000 (Sat, 28 Mar 2015)
Log Message:
-----------
fix live search

Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.sogab.inc.php

Modified: branches/dev-syncromind/property/inc/class.sogab.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.sogab.inc.php    2015-03-28 
12:35:34 UTC (rev 12919)
+++ branches/dev-syncromind/property/inc/class.sogab.inc.php    2015-03-28 
12:40:21 UTC (rev 12920)
@@ -130,7 +130,7 @@
 
                        if ($gaards_nr)
                        {
-                               $filtermethod .= " {$where} 
SUBSTRING(gab_id,5,5) {$this->like} '%$gaards_nr' ";
+                               $filtermethod .= " {$where} 
SUBSTRING(gab_id,5,5) {$this->like} '%$gaards_nr%' ";
                                $where = 'AND';
                        }
                        if ($bruksnr)
@@ -140,12 +140,12 @@
                        }
                        if ($feste_nr)
                        {
-                               $filtermethod .= " {$where} 
SUBSTRING(gab_id,14,4) {$this->like} '%$feste_nr' ";
+                               $filtermethod .= " {$where} 
SUBSTRING(gab_id,14,4) {$this->like} '%$feste_nr%' ";
                                $where = 'AND';
                        }
                        if ($seksjons_nr)
                        {
-                               $filtermethod .= " {$where} 
SUBSTRING(gab_id,18,3) {{$this->like}} '%$seksjons_nr' ";
+                               $filtermethod .= " {$where} 
SUBSTRING(gab_id,18,3) {$this->like} '%$seksjons_nr%' ";
                                $where = 'AND';
                        }
 




reply via email to

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