-started adding show list-view
This commit is contained in:
parent
e52d566b83
commit
844baeeae6
13 changed files with 347 additions and 255 deletions
|
@ -478,7 +478,8 @@ class Show {
|
|||
}
|
||||
if(!is_null($start) && is_null($end)) {
|
||||
$sql_range = "(first_show <= '{$start}' AND last_show IS NULL)
|
||||
OR (first_show <= '{$start}' AND last_show > '{$start}')";
|
||||
OR (first_show <= '{$start}' AND last_show > '{$start}')
|
||||
OR (first_show >= '{$start}')";
|
||||
|
||||
$sql = $sql_gen ." WHERE ". $sql_range;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue