I corrected some observations

This commit is contained in:
Paula V. Quispe
2015-03-02 14:27:34 -04:00
parent 6ede532d79
commit dc7b91f1f5
5 changed files with 3 additions and 33 deletions

View File

@@ -80,19 +80,7 @@ class ListInbox extends BaseListInbox
// update participated history
$listParticipatedHistory = new ListParticipatedHistory();
$listParticipatedHistory->update($data);
//$listParticipatedLast = new ListParticipatedLast();
//$listParticipatedLast->update($data);
/*if(isset($data['APP_UID']) && isset($data['DEL_INDEX'])){
$oRow = ListInboxPeer::retrieveByPK( $data['APP_UID'], $data['DEL_INDEX'] );
if(is_object($oRow)){
$newData = $oRow->toArray( BasePeer::TYPE_FIELDNAME );
// update participated last
$listParticipatedLast = new ListParticipatedLast();
$listParticipatedLast->update($newData);
}
}*/
$listParticipatedHistory->update($data);
return $result;
} else {
$con->rollback();

View File

@@ -4030,7 +4030,7 @@
<column name="DEL_DUE_DATE" type="TIMESTAMP" required="false"/>
<column name="DEL_PRIORITY" type="VARCHAR" size="32" required="true" default="3"/>
<column name="DEL_THREAD_STATUS" type="VARCHAR" size="32" required="true" default="OPEN"/>
</table>
</table>
<table name="LIST_COMPLETED">
<vendor type="mysql">
<parameter name="Name" value="LIST_COMPLETED"/>

View File

@@ -2213,7 +2213,7 @@ CREATE TABLE `LIST_INBOX`
`DEL_DUE_DATE` DATETIME,
`DEL_PRIORITY` VARCHAR(32) default '3' NOT NULL,
PRIMARY KEY (`APP_UID`,`DEL_INDEX`),
KEY `indexInboxUser`(`USR_UID`, `DEL_DELEGATE_DATE`)
KEY `indexInboxUser`(`USR_UID`, `DEL_DELEGATE_DATE`)
)ENGINE=InnoDB DEFAULT CHARSET='utf8' COMMENT='Inbox list';
#-----------------------------------------------------------------------------
#-- LIST_PARTICIPATED_HISTORY

View File

@@ -30,19 +30,9 @@ class Lists {
$userUid = $dataList["userId"];
$filters["paged"] = isset( $dataList["paged"] ) ? $dataList["paged"] : true;
$filters['count'] = isset( $dataList['count'] ) ? $dataList['count'] : true;
$filters["category"] = isset( $dataList["category"] ) ? $dataList["category"] : "";
if(empty($filters["category"]) && isset($_GET['category'])){
$filters["category"] = $_GET['category'];
}
$filters["process"] = isset( $dataList["process"] ) ? $dataList["process"] : "";
if(empty($filters["process"]) && isset($_GET['process'])){
$filters["process"] = $_GET['process'];
}
$filters["search"] = isset( $dataList["search"] ) ? $dataList["search"] : "";
if(empty($filters["search"]) && isset($_GET['search'])){
$filters["category"] = $_GET['search'];
}
$filters["filter"] = isset( $dataList["filter"] ) ? $dataList["filter"] : "";
$filters["dateFrom"] = (!empty( $dataList["dateFrom"] )) ? substr( $dataList["dateFrom"], 0, 10 ) : "";
$filters["dateTo"] = (!empty( $dataList["dateTo"] )) ? substr( $dataList["dateTo"], 0, 10 ) : "";

View File

@@ -2272,14 +2272,6 @@ var gridForm = new Ext.FormPanel({
}
comboAllUsers.setValue("CURRENT_USER");
// hidding the buttons for the reassign
// if (action=='to_reassign'){
// btnSelectAll.hide();
// btnUnSelectAll.hide();
// btnReassign.hide();
// }
function reassign(){
storeReassignCases.removeAll();
var rows = grid.getSelectionModel().getSelections();