Bugzilla – Attachment 27788 Details for
Bug 10486
Allow external Z39.50 targets to be searched from the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 10486 - QA followup: fix links in results and updatedatabase
SIGNED-OFF-Bug-10486---QA-followup-fix-links-in-re.patch (text/plain), 3.05 KB, created by
Katrin Fischer
on 2014-04-29 21:07:16 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 10486 - QA followup: fix links in results and updatedatabase
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-04-29 21:07:16 UTC
Size:
3.05 KB
patch
obsolete
>From 775b15d1dc3d8e51969e2b3315fa5036ee5afe07 Mon Sep 17 00:00:00 2001 >From: Jesse Weaver <pianohacker@gmail.com> >Date: Thu, 24 Apr 2014 14:12:37 -0600 >Subject: [PATCH] [SIGNED OFF] Bug 10486 - QA followup: fix links in results > and updatedatabase > >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-external-search.tt | 4 ++-- > koha-tmpl/opac-tmpl/prog/en/modules/opac-external-search.tt | 4 ++-- > 2 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-external-search.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-external-search.tt >index f4e7be9..1f242c4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-external-search.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-external-search.tt >@@ -128,7 +128,7 @@ function showResult( syntax, recid ) { > var fragment = resultRenderCache[ recid ] = KOHA.TransformToFragment( record, xslDoc ); > var $tr = $( '#results tr' ).filter( function() { return $( this ).data( 'recid' ) == recid } ); > $tr.find( '.info' ).html( fragment ); >- $tr.find( 'a' ).attr( 'href', '#' ).click( function() { >+ $tr.find( 'a[href*="opac-detail.pl"]' ).attr( 'href', '#' ).click( function() { > showDetail( syntax, recid ); > > return false; >@@ -200,7 +200,7 @@ function search( offset, reset_search ) { > $( '#results tbody' ).append( $tr ); > > ( function( hit, recordSyntax ) { >- $tr.find( 'a' ).attr( 'href', '#' ).click( function() { >+ $tr.find( 'a[href*="opac-detail.pl"]' ).attr( 'href', '#' ).click( function() { > showDetail( recordSyntax, hit.recid[0] ); > > return false; >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-external-search.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-external-search.tt >index c565b41..4fac891 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-external-search.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-external-search.tt >@@ -58,7 +58,7 @@ function showResult( syntax, recid ) { > var fragment = resultRenderCache[ recid ] = KOHA.TransformToFragment( record, xslDoc ); > var $tr = $( '#results tr' ).filter( function() { return $( this ).data( 'recid' ) == recid } ); > $tr.find( '.info' ).html( fragment ); >- $tr.find( 'a' ).attr( 'href', '#' ).click( function() { >+ $tr.find( 'a[href*="opac-detail.pl"]' ).attr( 'href', '#' ).click( function() { > showDetail( syntax, recid ); > > return false; >@@ -133,7 +133,7 @@ function search( offset, reset_search ) { > $( '#results tbody' ).append( $tr ); > > ( function( hit, recordSyntax ) { >- $tr.find( 'a' ).attr( 'href', '#' ).click( function() { >+ $tr.find( 'a[href*="opac-detail.pl"]' ).attr( 'href', '#' ).click( function() { > showDetail( recordSyntax, hit.recid[0] ); > > return false; >-- >1.8.3.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 10486
:
19142
|
19143
|
19226
|
19227
|
19680
|
21687
|
21734
|
22084
|
22540
|
23109
|
23112
|
23113
|
24036
|
24206
|
24207
|
24208
|
25235
|
25236
|
25979
|
26002
|
26017
|
26129
|
26804
|
26988
|
27275
|
27276
|
27438
|
27439
|
27440
|
27559
|
27756
|
27781
|
27783
|
27785
|
27786
|
27787
| 27788 |
27789
|
27790