Changeset 809 for branches/0.4/web
- Timestamp:
- 04/08/13 21:20:13 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/libtoga.php
r779 r809 238 238 if( $start_from_time ) 239 239 { 240 $query_args[] = " job_start_timestamp>= $start_from_time";240 $query_args[] = "CAST(job_start_timestamp as INT) >= $start_from_time"; 241 241 } 242 242 if( $start_to_time ) 243 243 { 244 $query_args[] = " job_start_timestamp<= $start_to_time";244 $query_args[] = "CAST(job_start_timestamp as INT) <= $start_to_time"; 245 245 } 246 246 if( $end_from_time ) 247 247 { 248 $query_args[] = " job_stop_timestamp>= $end_from_time";248 $query_args[] = "CAST(job_stop_timestamp as INT) >= $end_from_time"; 249 249 } 250 250 if( $end_to_time ) 251 251 { 252 $query_args[] = " job_stop_timestamp<= $end_to_time";252 $query_args[] = "CAST(job_stop_timestamp as INT) <= $end_to_time"; 253 253 } 254 254
Note: See TracChangeset
for help on using the changeset viewer.