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

); );
$sql = "SELECT * FROM $this->job_table WHERE start>='%s' and start <='%s' order by start ASC ,staff ASC"; $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)); $query = $wpdb->prepare ($sql, array($start, $finish));
$response['sql'] = $query; $response['sql'] = $query;
$jobs = $wpdb->get_results($query); $jobs = $wpdb->get_results($query);

+ 1
- 1
js/bts_office.js Ver fichero

}); });
$('div.weekly div.weekname.prev').click(function(){ $('div.weekly div.weekname.prev').click(function(){
if (!confirm ('copy entire week to next week? '))
if (!confirm ('copy entire week to next week?'))
return; return;
var jobs = []; var jobs = [];
$('div.week1 >div').each(function(i,e){ $('div.week1 >div').each(function(i,e){

Cargando…
Cancelar
Guardar