Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Problem regarding multiple filters #1435

Closed
metas-ts opened this issue Dec 11, 2017 · 2 comments
Closed

Problem regarding multiple filters #1435

metas-ts opened this issue Dec 11, 2017 · 2 comments

Comments

@metas-ts
Copy link
Member

Is this a bug or feature request?

Bug

What is the current behavior?

The problem should be visible in this screenshot:
image

  • The first filter with id materialCockpitDateOnlyFilter seems OK, but in the sencond filter, the parameter ProductName = "Conv" is not poperly displayed.
  • instead, it looks as if the first filter's value is somehow used in the second filter.

@teosarca said that this problem might be related to view: singleOverlayField filters are half broken #1415

in case it helps: this is the filters layout info

"filters": [{
		"filterId": "materialCockpitDateOnlyFilter",
		"caption": "Datum",
		"frequent": true,
		"parametersLayoutType": "panel",
		"parameters": [{
			"caption": "DateGeneral",
			"parameterName": "DateGeneral",
			"widgetType": "Date",
			"range": false,
			"mandatory": true,
			"displayed": true,
			"readonly": false,
			"type": "primary",
			"showIncrementDecrementButtons": true
		}]
	},
	{
		"filterId": "materialCockpitAllParamsFilter",
		"caption": "Produkt",
		"frequent": true,
		"parametersLayoutType": "panel",
		"parameters": [{
			"caption": "ProductName",
			"parameterName": "ProductName",
			"widgetType": "Text",
			"range": false,
			"mandatory": false,
			"displayed": true,
			"readonly": false,
			"type": "primary"
		},
		{
			"caption": "Value",
			"parameterName": "Value",
			"widgetType": "Text",
			"range": false,
			"mandatory": false,
			"displayed": true,
			"readonly": false,
			"type": "primary"
		}]
	}]

Which are the steps to reproduce?

I get this ierror in the task branches of issue metasfresh/metasfresh-webui-api-legacy#706, so you can't yet reproduce this problem in master ..but maybe it also happens in other multipfilter-scenarios..

I'm working towards a WI for issue metasfresh/metasfresh-webui-api-legacy#706, so we also get this in master..but maybe you can already take a look?

@ottosichert
Copy link
Contributor

See my PR #1439 which fills the filter values to the dropdown widgets.

I believe it was introduced by #1419 or #1423 (regarding #1415) but I could not narrow it down to either one.

@metas-ts Can you provide me a similar setup where I can debug your exact issue if #1439 does not fully resolve this?

metas-ts added a commit to metasfresh/metasfresh that referenced this issue Dec 18, 2017
[#706](metasfresh/metasfresh-webui-api-legacy#706)
Port current MRP Product Info Window to the webui
[#755](metasfresh/metasfresh-webui-api-legacy#755)
Processes: support for parentViewSelectedIds and childViewSelectedIds
[#1427](metasfresh/metasfresh-webui-frontend-legacy#1427)
d3 errors on dashboard
[#2646](#2646) MRP
Product Info Just in Time
[#751](metasfresh/metasfresh-webui-api-legacy#751)
Picking Tray Clearing: packing HUs: Add to Transportation Order action
[#1437](metasfresh/metasfresh-webui-frontend-legacy#1437)
Language bug: The language in Settings is not respected
[#746](metasfresh/metasfresh-webui-api-legacy#746)
Picking Tray Clearing: Scan picking slot barcode filter
[#1455](metasfresh/metasfresh-webui-frontend-legacy#1455)
error when updating an attribute multiple times
[#747](metasfresh/metasfresh-webui-api-legacy#747)
Picking Tray Clearing: filter picking slots by Partner
[#1433](metasfresh/metasfresh-webui-frontend-legacy#1433)
Support Lookup view attributes
[#3211](#3211) Picking
Tray Clearing: right side view shall display only the HUs for current
BP/Location
[#1444](metasfresh/metasfresh-webui-frontend-legacy#1444)
Attributes are empty in material receipt candidate
[#3202](#3202) Error in
Paymentjournal Process/ Report in Payselection
[#3193](#3193) Improve
Window for manual OnHand Qty in WebUI
[#1448](metasfresh/metasfresh-webui-frontend-legacy#1448)
jenkins: fix current lint issues
[#1435](metasfresh/metasfresh-webui-frontend-legacy#1435)
Problem regarding multiple filters
[#1436](metasfresh/metasfresh-webui-frontend-legacy#1436)
Remove legacy docs
[#3169](#3169) Updating
PMM_Week availability trend fails
[#1206](metasfresh/metasfresh-webui-frontend-legacy#1206)
Use automatic code style enforcement
[#717](metasfresh/metasfresh-webui-api-legacy#717)
picking terminal: open HUs to pick shall display Best Before date and
Locator

me-45
@metas-lc metas-lc self-assigned this Dec 19, 2017
@metas-lc
Copy link

IT
opened window Material cockpit 540376
used both filters
=>
Date: 19.12.2017
Filter by: &Product
OK
(& you see there is backend. Created task: metasfresh/metasfresh-webui-api-legacy#765)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants