Diff for /ZSQLExtend/ZSQLExtend.py between versions 1.127 and 1.129

version 1.127, 2008/06/19 11:46:29 version 1.129, 2009/02/04 09:10:45
Line 423  class ZSQLExtendFolder(Folder,Persistent Line 423  class ZSQLExtendFolder(Folder,Persistent
                 # set up logging to response as plain text                  # set up logging to response as plain text
                 RESPONSE.setHeader("Content-Type","text/plain; charset=utf-8")                  RESPONSE.setHeader("Content-Type","text/plain; charset=utf-8")
                 RESPONSE.write("Import FMPXML file...\n\n")                  RESPONSE.write("Import FMPXML file...\n\n")
                   RESPONSE.flush()
                 loghandler = logging.StreamHandler(RESPONSE)                  loghandler = logging.StreamHandler(RESPONSE)
                 if debug:                  if debug:
                     loghandler.setLevel(logging.DEBUG)                      loghandler.setLevel(logging.DEBUG)
Line 1502  class ZSQLExtendFolder(Folder,Persistent Line 1503  class ZSQLExtendFolder(Folder,Persistent
   
                 elif op=="numerical":                  elif op=="numerical":
                     term=analyseIntSearch(value)                      term=analyseIntSearch(value)
                     tmp=(name+" "+term)                      tmp=(namealt+" "+term) # take namealt without LOWER
                 elif op=="grep":                  elif op=="grep":
                     tmp=(name+" ~* "+sql_quote(value))                      tmp=(name+" ~* "+sql_quote(value))
                 elif op=="one":                  elif op=="one":
Line 1552  class ZSQLExtendFolder(Folder,Persistent Line 1553  class ZSQLExtendFolder(Folder,Persistent
   
                 elif op=="numerical":                  elif op=="numerical":
                     term=analyseIntSearch(value)                      term=analyseIntSearch(value)
                     tmp=(name+" "+term)                      tmp=(namealt+" "+term) # take namealt without LOWER
                 elif op=="grep":                  elif op=="grep":
                     tmp=(name+" ~* "+sql_quote(value))                      tmp=(name+" ~* "+sql_quote(value))
                 elif op=="one":                  elif op=="one":

Removed from v.1.127  
changed lines
  Added in v.1.129


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>