PATH:
home
/
letacommog
/
crmleta
/
layouts
/
v7
/
modules
/
Vtiger
/
resources
/*+*********************************************************************************** * The contents of this file are subject to the vtiger CRM Public License Version 1.0 * ("License"); You may not use this file except in compliance with the License * The Original Code is: vtiger CRM Open Source * The Initial Developer of the Original Code is vtiger. * Portions created by vtiger are Copyright (C) vtiger. * All Rights Reserved. *************************************************************************************/ //Search Advance Filter useful for adavance search Vtiger_AdvanceFilter_Js('Vtiger_SearchAdvanceFilter_Js',{},{ /** * Function to get the advance filter values * This will call the base to get the values and dont send group condition if there is not condition * exists in the next condition group * * @params cleanGroupConditions <Boolean> - states whether to clean group conditions or not -- default true * this will remove group condition if next condition group dont have any conditions */ getValues : function (cleanGroupConditions) { if(typeof cleanGroupConditions == 'undefined'){ cleanGroupConditions = true; } var values = this._super(); if(!cleanGroupConditions) { return values; } for(var key in values){ var conditionGroupInfo = values[key]; var nextConditionGroupInfo = values[parseInt(key)+1] //there is not next condition group so no need to perform the caliculation if(typeof nextConditionGroupInfo == 'undefined'){ continue; } var nextConditionColumns = nextConditionGroupInfo['columns']; // if you dont have conditions in next group we should not send group condition in current condition group if(jQuery.isEmptyObject(nextConditionColumns)){ delete conditionGroupInfo['condition'] } } return values; } });
[+]
..
[-] RelatedList.js
[edit]
[-] EmailsRelatedPopup.js
[edit]
[-] Detail.js
[edit]
[-] Field.js
[edit]
[-] CkEditor.js
[edit]
[-] Tag.js
[edit]
[-] Header.js
[edit]
[-] AdvanceSearch.js
[edit]
[-] validation.js
[edit]
[-] ExtensionCommon.js
[edit]
[-] SearchList.js
[edit]
[-] Edit.js
[edit]
[-] MergeRecords.js
[edit]
[-] Pagination.js
[edit]
[-] Popup.js
[edit]
[-] FindDuplicates.js
[edit]
[-] RecordSelectTracker.js
[edit]
[-] Vtiger.js
[edit]
[-] DashBoard.js
[edit]
[-] SearchAdvanceFilter.js
[edit]
[+]
dashboards
[-] AdvanceFilter.js
[edit]
[-] AdvanceSearchList.js
[edit]
[-] List.js
[edit]
[-] Base.js
[edit]
[-] Utils.js
[edit]
[-] Extension.js
[edit]
[-] ListSidebar.js
[edit]
[-] Class.js
[edit]
[-] BasicSearch.js
[edit]
[-] BaseList.js
[edit]