From 11b2c0305c6c433e22c4e6fc91b7a4594cf2ab8d Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 15 Sep 2011 18:27:37 +0530 Subject: [PATCH] trend analyzer issue fixed --- analysis/search_criteria/trend_analyzer/trend_analyzer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/analysis/search_criteria/trend_analyzer/trend_analyzer.js b/analysis/search_criteria/trend_analyzer/trend_analyzer.js index 72334df1b4..9a87abbd11 100644 --- a/analysis/search_criteria/trend_analyzer/trend_analyzer.js +++ b/analysis/search_criteria/trend_analyzer/trend_analyzer.js @@ -13,8 +13,8 @@ report.customize_filters = function() { this.add_filter({fieldname:'company', label:'Company', fieldtype:'Link', options:'Company', report_default:sys_defaults.company, ignore : 1, parent:'Profile'}); - this.set_filter_properties('Profile','Fiscal Year',{filter_hide:0, in_first_page:1, report_default: sys_defaults.fiscal_year}); - this.get_filter('Profile', 'Fiscal Year').set_as_single(); + this.add_filter({fieldname:'fiscal_year', label:'Fiscal Year', fieldtype:'Link', options:'Fiscal Year', report_default:sys_defaults.fiscal_year, ignore : 1, parent:'Profile', in_first_page:1}); + // Add Filters this.add_filter({fieldname:'item', label:'Item', fieldtype:'Link', options:'Item', ignore : 1, parent:'Profile'}); @@ -118,4 +118,4 @@ report.get_query = function() { return q; } -} \ No newline at end of file +}