fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17015] property: FDV-232


From: sigurdne
Subject: [Fmsystem-commits] [17015] property: FDV-232
Date: Thu, 31 Aug 2017 05:55:48 -0400 (EDT)

Revision: 17015
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17015
Author:   sigurdne
Date:     2017-08-31 05:55:48 -0400 (Thu, 31 Aug 2017)
Log Message:
-----------
property: FDV-232

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

Modified: trunk/property/inc/class.sotts.inc.php
===================================================================
--- trunk/property/inc/class.sotts.inc.php      2017-08-31 09:46:04 UTC (rev 
17014)
+++ trunk/property/inc/class.sotts.inc.php      2017-08-31 09:55:48 UTC (rev 
17015)
@@ -518,8 +518,9 @@
 
                                if (ctype_digit($query))
                                {
-                                       $querymethod .= " OR 
fm_tts_tickets.order_id =" . (int)$query
-                                               . " OR fm_tts_tickets.id =" . 
(int)$query . ')';
+                                       $querymethod .= " OR 
cast(fm_tts_tickets.order_id as text) {$this->like} '$query%'";
+                       //              $querymethod .= " OR 
fm_tts_tickets.order_id =" . (int)$query;
+                                       $querymethod .= " OR fm_tts_tickets.id 
=" . (int)$query . ')';
                                }
                                else
                                {




reply via email to

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