CC-3174 : showbuilder

fixing classes on show footer, selector for the select all.
only adding a checkbox on a row if a user is allowed to schedule there.
This commit is contained in:
Naomi Aro 2012-02-14 13:33:25 +01:00
parent 4f5b5d8562
commit b7b1c401f6
4 changed files with 29 additions and 29 deletions

View file

@ -328,11 +328,11 @@ class Application_Model_Schedule {
WHERE si.modified_instance = false AND
si.starts >= '{$p_startDateTime}' AND si.starts <= '{$p_endDateTime}'
si.starts >= '{$p_startDateTime}' AND si.starts < '{$p_endDateTime}'
ORDER BY si.starts, sched.starts;";
//Logging::log($sql);
Logging::log($sql);
$rows = $CC_DBC->GetAll($sql);
return $rows;

View file

@ -122,7 +122,7 @@ class Application_Model_ShowBuilder {
private function makeScheduledItemRow($p_item) {
$row = $this->defaultRowArray;
if ($this->user->canSchedule($item["show_id"]) == true) {
if ($this->user->canSchedule($p_item["show_id"]) == true) {
$row["checkbox"] = true;
}