From: Bill Erickson Date: Mon, 14 Feb 2011 16:47:57 +0000 (-0500) Subject: added sub to collect the HTML version of a record for display X-Git-Tag: opac-tt-poc-demo2~27^2~6 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ae46044797776bc60df4108b78e221cf7cc18e0a;p=evergreen%2Fequinox.git added sub to collect the HTML version of a record for display --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm index ac15a595d1..71c7bd40c2 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm @@ -116,4 +116,11 @@ sub mk_copy_query { #return $self->editor->json_query($query); } +sub mk_marc_html { + my($self, $rec_id) = @_; + + $self->ctx->{marc_html} = $U->simplereq( + 'open-ils.search', 'open-ils.search.biblio.record.html', $rec_id); +} + 1;