From cfd3925317d98a93de95bad1214d5d10836a1295 Mon Sep 17 00:00:00 2001 From: j2blake Date: Wed, 25 Apr 2012 19:32:45 +0000 Subject: [PATCH] NIHVIVO-2411 Create a mock implementation of the ShortViewService and incorporate it into the search page. Because this is a mock, it always uses the default short view, like before. There should be no difference for the end-user. --- doc/upgrade-1.5.html | 8 ++++++++ productMods/WEB-INF/resources/startup_listeners.txt | 2 ++ 2 files changed, 10 insertions(+) diff --git a/doc/upgrade-1.5.html b/doc/upgrade-1.5.html index 91f8b976..41ccdc42 100644 --- a/doc/upgrade-1.5.html +++ b/doc/upgrade-1.5.html @@ -95,6 +95,14 @@ See J.Blake for details.

+
  • +

    Custom search views

    +

    + "Custom search views" have been re-implemented as part of the more flexible "Custom short views" mechanism. + If you have custom search views, you will need to re-configure them. + See J.Blake for details. +

    +
  • diff --git a/productMods/WEB-INF/resources/startup_listeners.txt b/productMods/WEB-INF/resources/startup_listeners.txt index d3caab7d..4b9c70fa 100644 --- a/productMods/WEB-INF/resources/startup_listeners.txt +++ b/productMods/WEB-INF/resources/startup_listeners.txt @@ -52,6 +52,8 @@ edu.cornell.mannlib.vivo.auth.policy.SelfEditorRelationshipPolicy$Setup edu.cornell.mannlib.vitro.webapp.auth.policy.RestrictHomeMenuItemEditingPolicy$Setup +edu.cornell.mannlib.vitro.webapp.services.shortview.ShortViewServiceSetup + # Add VIVO specific DocumentModifers, this must come before SolrSetup edu.cornell.mannlib.vitro.webapp.search.solr.VivoDocumentModifiers