Index: openacs-4/packages/download/www/admin/report-by-ip.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/report-by-ip.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/download/www/admin/report-by-ip.tcl 20 Apr 2001 20:51:10 -0000 1.1 +++ openacs-4/packages/download/www/admin/report-by-ip.tcl 22 May 2001 04:17:45 -0000 1.2 @@ -13,9 +13,9 @@ ##TODO: Add support for other set dimensional { {downloaded "Download Period" 1m { - {1d "last 24hrs" {where "d.download_date + 1 > SYSDATE"}} - {1w "last week" {where "d.download_date + 7 > SYSDATE"}} - {1m "last month" {where "d.download_date + 30 > SYSDATE"}} + {1d "last 24hrs" {where "[db_map date_clause_1]"}} + {1w "last week" {where "[db_map date_clause 7]"}} + {1m "last month" {where "[db_map date_clause_30]"}} {all "all" {}}}} }