[open-ils-commits] [GIT] Evergreen ILS branch master updated. a51761578d5ffa187b28d433692734599b194ef2

Evergreen Git git at git.evergreen-ils.org
Tue Dec 18 10:14:32 EST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, master has been updated
       via  a51761578d5ffa187b28d433692734599b194ef2 (commit)
      from  f196bc2ac10b6c40b18d7a3378ba2dbb9e37d219 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a51761578d5ffa187b28d433692734599b194ef2
Author: Ben Shum <bshum at biblio.org>
Date:   Wed Nov 28 16:05:53 2012 -0500

    Syndetics - retrieve summary as part of added content
    
    As noted by Steve Callender in LP1027131, Syndetics added content is not
    retrieving summary.html to be displayed in the catalog.
    
    This change adds a function similar to toc/anotes to bring in summary data.
    
    Signed-off-by: Ben Shum <bshum at biblio.org>
    Signed-off-by: Michael Peters <mrpeters at library.in.gov>

diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm
index 85f274c..9eff0ae 100644
--- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm
+++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/AddedContent/Syndetic.pm
@@ -192,6 +192,25 @@ sub reviews_json {
 
 # --------------------------------------------------------------------------
 
+sub summary_html {
+    my( $self, $key ) = @_;
+    return $self->send_html(
+        $self->fetch_content('summary.html', $key));
+}
+
+sub summary_xml {
+    my( $self, $key ) = @_;
+    return $self->send_xml(
+        $self->fetch_content('summary.xml', $key));
+}
+
+sub summary_json {
+    my( $self, $key ) = @_;
+    return $self->send_json(
+        $self->fetch_content('summary.xml', $key));
+}
+
+# --------------------------------------------------------------------------
 
 sub data_exists {
     my( $self, $data ) = @_;

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/WWW/AddedContent/Syndetic.pm       |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list