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)
committerGalen Charlton <gmc@equinoxOLI.org>
Tue, 21 Feb 2023 16:05:49 +0000 (11:05 -0500)
commitbbfe05bf5432c27d72c075d5b110164284de7ae0
tree9775531817794a62683de9f174d535e91502da0f
parent6cb814b9940efed81fe33b0a3df20780ec623d98
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