From 39b8ec0ed8af7d447885246738d652199fec9892 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Mon, 23 Jul 2012 15:03:57 +0530 Subject: [PATCH] fixes in new report: same fieldname in multiple table --- public/js/all-app.js | 2 +- public/js/all-web.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/js/all-app.js b/public/js/all-app.js index 6f96b3b109..24df70f3c8 100644 --- a/public/js/all-app.js +++ b/public/js/all-app.js @@ -352,7 +352,7 @@ return[me.fieldselect.$select.find('option:selected').attr('table'),me.field.df. this.add_field_option(this.filter_fields[i])}else{this.build_options();}},build_options:function(){var me=this;me.table_fields=[];var std_filters=[{fieldname:'name',fieldtype:'Data',label:'ID',parent:me.doctype},{fieldname:'modified',fieldtype:'Date',label:'Last Modified',parent:me.doctype},{fieldname:'owner',fieldtype:'Data',label:'Created By',parent:me.doctype},{fieldname:'creation',fieldtype:'Date',label:'Created On',parent:me.doctype},{fieldname:'_user_tags',fieldtype:'Data',label:'Tags',parent:me.doctype},{fieldname:'docstatus',fieldtype:'Int',label:'Doc Status',parent:me.doctype},];var doctype_obj=locals['DocType'][me.doctype];if(doctype_obj&&cint(doctype_obj.istable)){std_filters=std_filters.concat([{fieldname:'parent',fieldtype:'Data',label:'Parent',parent:me.doctype}]);} if(this.with_blank){this.$select.append($('