Bugzilla – Attachment 144492 Details for
Bug 32389
Syndetics links are built wrong on the staff results page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32389: Fix Syndetics link on staff results page
Bug-32389-Fix-Syndetics-link-on-staff-results-page.patch (text/plain), 1.99 KB, created by
Katrin Fischer
on 2022-12-07 21:26:25 UTC
(
hide
)
Description:
Bug 32389: Fix Syndetics link on staff results page
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-12-07 21:26:25 UTC
Size:
1.99 KB
patch
obsolete
>From eac64794cd9cc769be6d5ea7d9cd06bb69e62f17 Mon Sep 17 00:00:00 2001 >From: Lucas Gass <lucas@bywatersolutions.com> >Date: Thu, 1 Dec 2022 17:40:30 +0000 >Subject: [PATCH] Bug 32389: Fix Syndetics link on staff results page > >To test: >1. Have SyndeticsCoverImages on and Syndetics setup. >2. Do a search that will return some results with Syndetics images >3. Click on the image link and you will get a 404 >4. Apply patch >5. Link works! > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index e9fe20d585..82735d4be8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -485,7 +485,7 @@ > [% IF ( SyndeticsCovers ) %] > [% IF ( SEARCH_RESULT.normalized_isbn || SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_oclc ) %] > <div id="syndetics-bookcoverimg-[% SEARCH_RESULT.biblionumber | html %]" class="cover-image syndetics-bookcoverimg"> >- <a href="/cgi-bin/koha/catalogue/[% DetailPage | url %]?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"> >+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber | uri %]"> > <img src="https://secure.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&client=[% Koha.Preference('SyndeticsClientCode') | html %]&type=xw10&upc=[% SEARCH_RESULT.normalized_upc | html %]&oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="Cover from Syndetics" /> > </a> > <div class="hint">Syndetics cover image</div> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32389
:
144383
|
144397
| 144492