diff --git a/src/app/services/project_service.js b/src/app/services/project_service.js index 9ffafd854..9346195c6 100644 --- a/src/app/services/project_service.js +++ b/src/app/services/project_service.js @@ -241,7 +241,10 @@ angular return _.includes(['model', 'source', 'seed', 'snapshot', 'analysis'], node.resource_type); }); - service.project.searchable = search_nodes.concat(search_macros); + service.project.searchable = _.filter(search_nodes.concat(search_macros), function(obj) { + // It should not be possible to search for hidden documentation + return !obj.docs || obj.docs.show; + }); service.loaded.resolve(); }); }