diff --git a/Apiv1.php b/Apiv1.php index 5ed89c5..60596c6 100644 --- a/Apiv1.php +++ b/Apiv1.php @@ -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); diff --git a/js/bts_office.js b/js/bts_office.js index a46e464..c1e6cc1 100644 --- a/js/bts_office.js +++ b/js/bts_office.js @@ -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){