Explorar el Código

bugfix

master
patrick hace 6 años
padre
commit
2e3d424911
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      Apiv1.php
  2. +1
    -1
      js/bts_office.js

+ 1
- 1
Apiv1.php Ver fichero

@@ -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);

+ 1
- 1
js/bts_office.js Ver fichero

@@ -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){

Cargando…
Cancelar
Guardar