[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. fbe8ebdc287b563d6583251d906b985aea5789a3

Evergreen Git git at git.evergreen-ils.org
Tue Dec 18 10:14:33 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, rel_2_3 has been updated
       via  fbe8ebdc287b563d6583251d906b985aea5789a3 (commit)
      from  23b56b4ae3ddb74bd3203fdd6dacbf0f0acea913 (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 fbe8ebdc287b563d6583251d906b985aea5789a3
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