| @@ -59,7 +59,7 @@ class Apiv1{ | |||
| ); | |||
| $sql = "SELECT * FROM $this->job_table WHERE start>='%s' and start <='%s' order by start ASC ,staff ASC"; | |||
| $sql = "SELECT * FROM $this->job_table order by start ASC ,staff ASC"; | |||
| //$sql = "SELECT * FROM $this->job_table order by start ASC ,staff ASC"; | |||
| $query = $wpdb->prepare ($sql, array($start, $finish)); | |||
| $response['sql'] = $query; | |||
| $jobs = $wpdb->get_results($query); | |||
| @@ -1427,7 +1427,7 @@ | |||
| }); | |||
| $('div.weekly div.weekname.prev').click(function(){ | |||
| if (!confirm ('copy entire week to next week? ')) | |||
| if (!confirm ('copy entire week to next week?')) | |||
| return; | |||
| var jobs = []; | |||
| $('div.week1 >div').each(function(i,e){ | |||