소스 검색

bugfix

master
patrick 6 년 전
부모
커밋
2e3d424911
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      Apiv1.php
  2. +1
    -1
      js/bts_office.js

+ 1
- 1
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);

+ 1
- 1
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){

Loading…
취소
저장