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:
@@ -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 = "";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user