version 1.130, 2009/09/23 12:30:50
|
version 1.131, 2009/09/30 15:29:14
|
Line 1139 class ZSQLExtendFolder(Folder,Persistent
|
Line 1139 class ZSQLExtendFolder(Folder,Persistent
|
identify=urllib.unquote(value) |
identify=urllib.unquote(value) |
# old code did identify with lower() which doesn't work for oids |
# old code did identify with lower() which doesn't work for oids |
#identify="lower("+identify.split("=")[0]+")="+sql_quote(identify.split("=")[1].lower()) |
#identify="lower("+identify.split("=")[0]+")="+sql_quote(identify.split("=")[1].lower()) |
|
(k,v) = identify.split("=") |
|
identify="%s=%s"%(k,sql_quote(v)) |
elif name=="-format": |
elif name=="-format": |
format=urllib.unquote(value) |
format=urllib.unquote(value) |
#elif (not (name[0]=="-" or name[0]=="_")) and (not len(value)==0): |
#elif (not (name[0]=="-" or name[0]=="_")) and (not len(value)==0): |