Bugzilla – Attachment 36841 Details for
Bug 12421
No way to get back to search results from overdrive results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12421 - no way to get back to search results from overdrive results
Bug-12421---no-way-to-get-back-to-search-results-f.patch (text/plain), 1.98 KB, created by
Kyle M Hall (khall)
on 2015-03-12 16:26:53 UTC
(
hide
)
Description:
Bug 12421 - no way to get back to search results from overdrive results
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-03-12 16:26:53 UTC
Size:
1.98 KB
patch
obsolete
>From a844c4b72ef5ad0de3357d2efa13c9fa7d814879 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 12 Mar 2015 12:24:00 -0400 >Subject: [PATCH] Bug 12421 - no way to get back to search results from overdrive results > >When on your search results you can click the link to overdrive results, >but then you can't get back to your catalog search results, the >line that links to the results should be there on both pages. > >Test Plan: >1) Apply this patch >2) Enable Overdrive searching >3) Perform a search >4) View the overdrive results >5) Note the "Catalog search for '$q'" link in the breadcrumbs >6) Click the link >7) Note you return to the search results page >--- > .../bootstrap/en/modules/opac-overdrive-search.tt | 8 +++++++- > 1 files changed, 7 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt >index d7aa281..42e1491 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-overdrive-search.tt >@@ -17,7 +17,8 @@ > <div class="main"> > <ul class="breadcrumb"> > <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">›</span></li> >- <li><a href="#">OverDrive search for '[% q | html %]'</a></li> >+ <li><a class="previous-page" href="">Catalog search for '[% q %]'</a> <span class="divider">›</span></li> >+ <li><a href="">OverDrive search for '[% q | html %]'</a></li> > </ul> > > <div class="container-fluid"> >@@ -174,6 +175,11 @@ $( document ).ready( function() { > .append( ' ' ) > .append( '<span id="overdrive-status"></span>' ); > >+ $('.previous-page').click(function(){ >+ parent.history.back(); >+ return false; >+ }); >+ > $( document ).on( 'click', 'a.od-nav', function() { > search( $( this ).data( 'offset' ) ); > return false; >-- >1.7.2.5
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 12421
:
28840
|
28841
|
36841
|
45805
|
153539
|
154078