]> git.evergreen-ils.org Git - evergreen/pines.git/commit
LP#1999944: fix bug that can break drawing the folder tree for reports
authorLlewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Fri, 9 Dec 2022 20:40:54 +0000 (15:40 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 21 Feb 2023 21:09:39 +0000 (16:09 -0500)
commitc4302618ef36608916a61990a8841c1eee4d618a
tree0fd4353cb5885d7e2591e08683e22d801b390a64
parent67a882e56e3e8364f75daf71f51bb61537533d11
LP#1999944: fix bug that can break drawing the folder tree for reports

Specifically, skip drawfolders iteration if parent node cannot be
found and eport invalid parent folder in the browser console.

For example, if a user creates a template folder that is not shared
that has a child folder that _is_ shared, another user at the library
that the folder is shared with would see their report folders be
incompletely rendered.

Signed-off-by: Llewellyn Marshall <llewellyn.marshall@ncdcr.gov>
Signed-off-by: blake <blake@mobiusconsortium.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/web/reports/oils_rpt_folders.js