Bugzilla – Attachment 154078 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-fro.patch (text/plain), 2.08 KB, created by
Katrin Fischer
on 2023-07-30 20:45:07 UTC
(
hide
)
Description:
Bug 12421: no way to get back to search results from overdrive results
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-07-30 20:45:07 UTC
Size:
2.08 KB
patch
obsolete
>From 41f3c56fa9e9e72ec16fcd2454476529bbee6b4c 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 > >Signed-off-by: Barry Cannon <bc@interleaf.ie> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../bootstrap/en/modules/opac-overdrive-search.tt | 8 ++++++++ > 1 file changed, 8 insertions(+) > >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 96fee654df..0ea5894ee4 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 >@@ -20,6 +20,9 @@ > <li class="breadcrumb-item"> > <a href="/cgi-bin/koha/opac-main.pl">Home</a> > </li> >+ <li class="breadcrumb-item"> >+ <a class="previous-page" href="">Catalog search for '[% q | html %]'</a> >+ </li> > <li class="breadcrumb-item active"> > <a href="#" aria-current="page">OverDrive search for '[% q | html %]'</a> > </li> >@@ -213,6 +216,11 @@ > .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; >-- >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 12421
:
28840
|
28841
|
36841
|
45805
|
153539
| 154078