Fix: date not applied, show no result after clicking search button

This commit is contained in:
2019-03-31 00:24:41 +09:00
parent 58f9da2611
commit ee4876a728
3 changed files with 6 additions and 4 deletions
@@ -220,6 +220,8 @@ function requestPlayerRecordListAll() {
}
function getPlayerRecordList(limitCount) {
showNoResultContent();
var startDate = $("#start_date").val();
var endDate = $("#end_date").val();
// console.log(startDate);
@@ -45,8 +45,8 @@ exit;
function makeDateStatement($start_date, $end_date) {
// return " '".$start_date."' < BR.RecordDateTime AND BR.RecordDateTime < '".$end_date."'";
return " '2017-01-01' < BR.RecordDateTime AND BR.RecordDateTime < '".$end_date."'";
return " '".$start_date."' < BR.RecordDateTime AND BR.RecordDateTime < '".$end_date."'";
// return " '2017-01-01' < BR.RecordDateTime AND BR.RecordDateTime < '".$end_date."'";
}
function makeSubjectSentence($app_id) {
@@ -45,8 +45,8 @@ exit;
function makeDateStatement($start_date, $end_date) {
// return " '".$start_date."' < LS.ScoreDateTime AND LS.ScoreDateTime < '".$end_date."'";
return " '2017-01-01' < LS.ScoreDateTime AND LS.ScoreDateTime < '".$end_date."'";
return " '".$start_date."' < LS.ScoreDateTime AND LS.ScoreDateTime < '".$end_date."'";
// return " '2017-01-01' < LS.ScoreDateTime AND LS.ScoreDateTime < '".$end_date."'";
}
function makeSubjectSentence($app_id) {