From: Galen Charlton Date: Wed, 23 Aug 2017 16:08:12 +0000 (-0400) Subject: LP#1694577: exclude empheral search results folder from selector X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=71871c25088e592848b90b8deba70bc6d7347d30;p=working%2FEvergreen.git LP#1694577: exclude empheral search results folder from selector Otherwise, the folder selector for the move or clone template actions includes a blank entry. Signed-off-by: Galen Charlton Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/web/reports/oils_rpt_folders.js b/Open-ILS/web/reports/oils_rpt_folders.js index 71c656dc6f..03c961d5b8 100644 --- a/Open-ILS/web/reports/oils_rpt_folders.js +++ b/Open-ILS/web/reports/oils_rpt_folders.js @@ -396,6 +396,7 @@ function oilsRptBuildFolder(type, node, treeVar, rootName, action, shared, eachF var f = cache[c].folder; if( !shared && (f.owner().id() != USER.id()) ) continue; + if( f.id() == oilsRptSearchResultFolderId ) continue; if(f.parent()) { /* find the parent's tree id so we can latch on to it */