Remove unecessary information being sent from API
This commit is contained in:
parent
d00f498fb3
commit
975abbaf10
1 changed files with 1 additions and 1 deletions
|
@ -1864,7 +1864,7 @@ class Application_Model_Show {
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO, returning starts + ends twice (once with an alias). Unify this after the 2.0 release. --Martin
|
//TODO, returning starts + ends twice (once with an alias). Unify this after the 2.0 release. --Martin
|
||||||
$sql = "SELECT *, si.starts as start_timestamp, si.ends as end_timestamp FROM "
|
$sql = "SELECT si.starts as start_timestamp, si.ends as end_timestamp, s.name, s.id, si.id as instance_id, si.record, s.url, starts, ends"
|
||||||
." $CC_CONFIG[showInstances] si, $CC_CONFIG[showTable] s"
|
." $CC_CONFIG[showInstances] si, $CC_CONFIG[showTable] s"
|
||||||
." WHERE si.show_id = s.id"
|
." WHERE si.show_id = s.id"
|
||||||
." AND si.starts >= TIMESTAMP '$timeStart'"
|
." AND si.starts >= TIMESTAMP '$timeStart'"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue