BUG 11919: Not able to use the product, immediate logout after: error ColumnMap for undefined column: CASE_SUMMARY

SOLUTION: setting CASE_SUMMARY attribute sortable to false and checking if the $_POST['sort'] does not contains that index.
This commit is contained in:
ralpheav
2013-06-07 10:34:50 -04:00
parent fa91b20661
commit 803e4fd2cc
2 changed files with 7 additions and 0 deletions

View File

@@ -26,6 +26,10 @@ $dateFrom = isset( $_POST["dateFrom"] ) ? substr( $_POST["dateFrom"], 0, 10 ) :
$dateTo = isset( $_POST["dateTo"] ) ? substr( $_POST["dateTo"], 0, 10 ) : "";
$first = isset( $_POST["first"] ) ? true :false;
if ($sort == 'CASE_SUMMARY' || $sort == 'CASE_NOTES_COUNT') {
$sort = 'APP_NUMBER';//DEFAULT VALUE
}
try {
$userUid = (isset($_SESSION["USER_LOGGED"]) && $_SESSION["USER_LOGGED"] != "")? $_SESSION["USER_LOGGED"] : null;
$result = "";

View File

@@ -573,6 +573,9 @@ Ext.onReady ( function() {
if( c.dataIndex == 'CASE_SUMMARY') c.renderer = renderSummary;
if( c.dataIndex == 'CASE_NOTES_COUNT') c.renderer = renderNote;
if( c.dataIndex == 'CASE_SUMMARY') c.sortable = false;
if( c.dataIndex == 'CASE_NOTES_COUNT') c.sortable = false;
//Format the name if is disabled solr, otherwise show without format
if (solrEnabled == 0) {
if( c.dataIndex == 'APP_DEL_PREVIOUS_USER') c.renderer = previous_full_name;