From 02887d85ec58fe1a322f6c44bb6b4fba8dba27e8 Mon Sep 17 00:00:00 2001 From: James Meyer Date: Thu, 4 Oct 2012 20:32:28 -0500 Subject: supplemental-web: search results for calls open in new windows. Seems google didn't like opening in an i-frame --- abs/core/supplemental-web/contents/calllog.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/abs/core/supplemental-web/contents/calllog.py b/abs/core/supplemental-web/contents/calllog.py index 9a13e14..0b2fb22 100644 --- a/abs/core/supplemental-web/contents/calllog.py +++ b/abs/core/supplemental-web/contents/calllog.py @@ -14,16 +14,16 @@ def main(argv): # create a cursor cursor = db.cursor() # execute SQL statement - cursor.execute("select name,number,count(number) as '# calls' from cid group by number,name order by '# calls' DESC limit 20;") - result = cursor.fetchall() + # cursor.execute("select name,number,count(number) as '# calls' from cid group by number,name order by '# calls' DESC limit 20;") + # result = cursor.fetchall() -#Top shows + #Top 20 callers #print '

' print '

' print '' print "Top 20 callers" - searchstring=''' ''' + searchstring=''' ''' cursor.execute("select name,number,count(number) from cid group by number,name order by count(number) DESC limit 20;") result = cursor.fetchall() for row in result: @@ -37,9 +37,9 @@ def main(argv): #print "%40s %26s %10s" %(row[0],row[2],row[1]) print "
%s %s
" print "
" -#Top categorys + #last 20 calls print '
' print '
' #print '

' -- cgit v0.12