From: Kevin A. <ka...@us...> - 2004-10-24 19:27:51
|
Update of /cvsroot/pythoncard/PythonCard/samples/webserver/html/cgi-bin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28845/samples/webserver/html/cgi-bin Modified Files: contacts.py Log Message: made search lowercase and added company to search list Index: contacts.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/webserver/html/cgi-bin/contacts.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** contacts.py 28 Jul 2004 16:04:18 -0000 1.6 --- contacts.py 24 Oct 2004 19:27:41 -0000 1.7 *************** *** 67,73 **** form = cgi.FieldStorage() ! name = form['name'].value ! results = document.findRecords(['Name'], name) print "Content-type: text/html\r\n\r\n", --- 67,73 ---- form = cgi.FieldStorage() ! name = form['name'].value.lower() ! results = document.findRecords(['Name', 'Company'], name) print "Content-type: text/html\r\n\r\n", |