Bugzilla – Attachment 144397 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.93 KB, created by
Owen Leonard
on 2022-12-02 12:39:21 UTC
(
hide
)
Description:
Bug 32389: Fix Syndetics link on staff results page
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-12-02 12:39:21 UTC
Size:
1.93 KB
patch
obsolete
>From e924da847e6855c48b41fdad6d4650a079c2947e 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> >--- > 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.20.1
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