From 71871c25088e592848b90b8deba70bc6d7347d30 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Wed, 23 Aug 2017 12:08:12 -0400 Subject: [PATCH] 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 --- Open-ILS/web/reports/oils_rpt_folders.js | 1 + 1 file changed, 1 insertion(+) 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 */ -- 2.11.0