From fcebdca11fa85dddfa81faafa1109f867d649340 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 16 Jun 2005 16:50:16 +0000 Subject: [PATCH] typo and bug fix git-svn-id: svn://svn.open-ils.org/ILS/trunk@819 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/extras/opensearch.ttk | 13 +++++++++++++ Open-ILS/src/extras/opensearchportal.html | 4 +--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/extras/opensearch.ttk b/Open-ILS/src/extras/opensearch.ttk index 47bd41d56e..1f5aecf1dc 100644 --- a/Open-ILS/src/extras/opensearch.ttk +++ b/Open-ILS/src/extras/opensearch.ttk @@ -89,6 +89,19 @@ FOREACH mr_id IN mr_list; [% rank %] [%- + IF mods.isbn(); +-%] + <div style="float: left;"> + <a href="http://gapines.org/opac/?sub_frame=1&target=record_result&page=0&mrid=[% mr_id.0 %]&hits_per_page=10"> + <img + style="padding: 3px; border: none;" + width="45" + height="50" + src="http://images.amazon.com/images/P/[% mods.isbn().replace('\s+','') %].01.MZZZZZZZ.jpg"> + </a> + </div> +[%- + END; IF mods.author(); -%] <b>Author:</b> <a href="http://gapines.org/opac/?sub_frame=1&target=mr_result&mr_search_type=author&mr_search_query=[% mods.author() | uri | html %]&page=0&mr_search_depth=[% depth %]&mr_search_location=[% location %]">[% mods.author() | html %]</a><br> diff --git a/Open-ILS/src/extras/opensearchportal.html b/Open-ILS/src/extras/opensearchportal.html index 28d615909d..16869dea89 100644 --- a/Open-ILS/src/extras/opensearchportal.html +++ b/Open-ILS/src/extras/opensearchportal.html @@ -421,8 +421,6 @@ function add_result_row (tab, index, xml, source) { try { description = getElementTextNS('','description',xml,0); - if (description.length > 1024) - description = description.substring(1,1024); } catch (e) { description = ''; } @@ -488,7 +486,7 @@ function remove_by_name( src ) { Display style: -- 2.43.2