IDEMPIERE-5311 - Zoom Across Doesn't Allow Zoom from Different Windows of the Same Table (#1360)

* IDEMPIERE-5311 - (draft) Zoom Across Doesn't Allow Zoom from Different Windows of the Same Table

* IDEMPIERE-5311 - Suggested Patch
This commit is contained in:
Peter Takács 2022-06-14 13:20:49 +02:00 committed by GitHub
parent 39a5fe5663
commit 5bd585c522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -92,8 +92,8 @@ public class ZoomInfoFactory {
for (final ZoomInfo zoomInfo : MRelationType.retrieveZoomInfos(po,
windowID)) {
if (alreadySeen.add(zoomInfo.destinationDisplay)) {
if (alreadySeen.add(zoomInfo.destinationDisplay + "|" + zoomInfo.windowId)) {
if (logger.isLoggable(Level.FINE)) logger.fine("Adding zoomInfo " + zoomInfo);
result.add(zoomInfo);
@ -105,7 +105,7 @@ public class ZoomInfoFactory {
for (final ZoomInfo zoomInfo : genericZoomProvider
.retrieveZoomInfos(po)) {
if (alreadySeen.add(zoomInfo.destinationDisplay)) {
if (alreadySeen.add(zoomInfo.destinationDisplay + "|" + zoomInfo.windowId)) {
if (logger.isLoggable(Level.FINE)) logger.fine("Adding zoomInfo " + zoomInfo + " from "
+ GenericZoomProvider.class.getSimpleName());