Skip to content

Commit

Permalink
Fix incorrect pathWithParams for savedFinds.
Browse files Browse the repository at this point in the history
Must include parameters for screen.
  • Loading branch information
chunlinyao committed Jul 9, 2022
1 parent 149780a commit 5bd151b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2385,7 +2385,7 @@ class ScreenRenderImpl implements ScreenRender {
for (Map<String, Object> 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)
}
Expand Down

0 comments on commit 5bd151b

Please sign in to comment.