From 5bd151b892efd21d84db2f1777c1eb9868ccf6c3 Mon Sep 17 00:00:00 2001 From: Yao Chunlin Date: Sat, 9 Jul 2022 08:06:17 +0000 Subject: [PATCH] Fix incorrect pathWithParams for savedFinds. Must include parameters for screen. --- .../main/groovy/org/moqui/impl/screen/ScreenRenderImpl.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/main/groovy/org/moqui/impl/screen/ScreenRenderImpl.groovy b/framework/src/main/groovy/org/moqui/impl/screen/ScreenRenderImpl.groovy index ff2d96258..13945a38f 100644 --- a/framework/src/main/groovy/org/moqui/impl/screen/ScreenRenderImpl.groovy +++ b/framework/src/main/groovy/org/moqui/impl/screen/ScreenRenderImpl.groovy @@ -2385,7 +2385,7 @@ class ScreenRenderImpl implements ScreenRender { for (Map userFlf in userFlfList) { EntityValue formListFind = (EntityValue) userFlf.formListFind Map itemMap = [name:formListFind.formListFindId, title:formListFind.description, image:lastImage, imageType:lastImageType, - path:lastPath, pathWithParams:(lastPath + "?formListFindId=" + formListFind.formListFindId)] + path:lastPath, pathWithParams:(currentPath.toString() + (paramString.length() > 0 ? '&' : '?') + "formListFindId=" + formListFind.formListFindId)] if (formListFindId != null && formListFindId.equals(formListFind.formListFindId)) itemMap.active = true savedFindsList.add(itemMap) }