CC-3174 : showbuilder

fixing up library table to include all interesting columns if a user would like to choose to see them.
query is done with propel.
This commit is contained in:
Naomi Aro 2012-02-22 18:38:33 +01:00
parent 2ac4940fd5
commit d4c7b832c9
4 changed files with 124 additions and 79 deletions

View file

@ -348,7 +348,9 @@ class PreferenceController extends Zend_Controller_Action
public function getLibraryDatatableAction() {
$data = Application_Model_Preference::GetValue("library_datatable", true);
$this->view->settings = unserialize($data);
if ($data != "") {
$this->view->settings = unserialize($data);
}
}
public function setTimelineDatatableAction() {
@ -363,7 +365,9 @@ class PreferenceController extends Zend_Controller_Action
public function getTimelineDatatableAction() {
$data = Application_Model_Preference::GetValue("timeline_datatable", true);
$this->view->settings = unserialize($data);
if ($data != "") {
$this->view->settings = unserialize($data);
}
}
}