details: https://code.openbravo.com/erp/devel/pi/rev/fcbaad295f5c
changeset: 17628:fcbaad295f5c
user: Augusto Mauch <augusto.mauch <at> openbravo.com>
date: Wed Aug 08 11:25:21 2012 +0200
summary: Related to issue 21192: Filter is not removed when clicking on a
column
In the business partner selector of the Sales Invoice Dimensional Report, some
fields of the filter were not being taken into account when the user clicked on
a column to sort the records.
diffstat:
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java | 15 ++++++++--
1 files changed, 11 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r d25b4678489a -r fcbaad295f5c
src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java
--- a/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java Wed Aug
08 10:59:04 2012 +0200
+++ b/src/org/openbravo/erpCommon/info/BusinessPartnerMultiple.java Wed Aug
08 11:25:21 2012 +0200
@@ -88,15 +88,22 @@
if (vars.getStringParameter("clear").equals("true")) {
vars.removeSessionValue("BusinessPartnerMultiple.key");
vars.removeSessionValue("BusinessPartnerMultiple.name");
+ vars.removeSessionValue("BusinessPartnerMultiple.contact");
+ vars.removeSessionValue("BusinessPartnerMultiple.zip");
+ vars.removeSessionValue("BusinessPartnerMultiple.provincia");
+ vars.removeSessionValue("BusinessPartnerMultiple.bpartner");
+ vars.removeSessionValue("BusinessPartnerMultiple.city");
}
String strKey = vars.getGlobalVariable("inpKey",
"BusinessPartnerMultiple.key", "");
String strName = vars.getGlobalVariable("inpName",
"BusinessPartnerMultiple.name", "");
- String strContact = vars.getStringParameter("inpContact");
- String strZIP = vars.getStringParameter("inpZIP");
- String strProvincia = vars.getStringParameter("inpProvincia");
+ String strContact = vars.getGlobalVariable("inpContact",
"BusinessPartnerMultiple.contact",
+ "");
+ String strZIP = vars.getGlobalVariable("inpZIP",
"BusinessPartnerMultiple.zip", "");
+ String strProvincia = vars.getGlobalVariable("inpProvincia",
+ "BusinessPartnerMultiple.provincia", "");
String strBpartners = vars.getGlobalVariable("inpBpartner",
"BusinessPartnerMultiple.bpartner", "all");
- String strCity = vars.getStringParameter("inpCity");
+ String strCity = vars.getGlobalVariable("inpCity",
"BusinessPartnerMultiple.city", "");
String strNewFilter = vars.getStringParameter("newFilter");
String strOffset = vars.getStringParameter("offset");
String strPageSize = vars.getStringParameter("page_size");
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits