@@ -, +, @@
search
1. Run an OverDrive search on the OPAC.
2. Check the links, they should start with "http://http://"
3. Apply this patch.
4. Rerun the search, the links should now be correct.
---
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt | 6 +++---
koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt
@@ -79,7 +79,7 @@ function fetch_availability( prod, $tr ) {
$availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' ' + data.numberOfHolds + '' );
}
- $tr.find( '.info' ).append( '
' );
+ $tr.find( '.info' ).append( '' );
}
);
}
@@ -108,7 +108,7 @@ function search( offset ) {
results.push( '' );
- results.push( '' );
+ results.push( ' | ' );
results.push( prod.title );
if ( prod.subtitle ) results.push( ', ', prod.subtitle );
results.push( '' );
@@ -127,7 +127,7 @@ function search( offset ) {
results.push( ' | ' );
if ( prod.images.thumbnail ) {
- results.push( '' );
+ results.push( '' );
results.push( '' );
results.push( '' );
}
--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt
+++ a/koha-tmpl/opac-tmpl/prog/en/modules/opac-overdrive-search.tt
@@ -25,7 +25,7 @@ function fetch_availability( prod, $tr ) {
$availability_summary.find( '.available' ).append( ', ' + _("waiting holds:") + ' ' + data.numberOfHolds + '' );
}
- $tr.find( '.info' ).append( '' + _("Actions:") + ' ' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '' );
+ $tr.find( '.info' ).append( '' + _("Actions:") + ' ' + _("Check out") ) : ( ' class="hold">' + _("Place hold") ) ) + '' );
}
);
}
@@ -54,7 +54,7 @@ function search( offset ) {
results.push( ' |
' );
- results.push( '' );
+ results.push( ' | ' );
results.push( prod.title );
if ( prod.subtitle ) results.push( ', ', prod.subtitle );
results.push( '' );
@@ -71,7 +71,7 @@ function search( offset ) {
results.push( ' | ' );
if ( prod.images.thumbnail ) {
- results.push( '' );
+ results.push( '' );
results.push( '' );
results.push( '' );
}
--
|