Bugzilla – Attachment 28881 Details for
Bug 5672
Add RSS feeds to catalog search history
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
5672 Gives RSS icons to search history
5672-Gives-RSS-icons-to-search-history.patch (text/plain), 3.55 KB, created by
Viktor Sarge
on 2014-06-17 08:40:27 UTC
(
hide
)
Description:
5672 Gives RSS icons to search history
Filename:
MIME Type:
Creator:
Viktor Sarge
Created:
2014-06-17 08:40:27 UTC
Size:
3.55 KB
patch
obsolete
>From 61340ada49c1f4e4fed93e732f9d1156788f8bc3 Mon Sep 17 00:00:00 2001 >From: Viktor Sarge <viktor.sarge@regionhalland.se> >Date: Tue, 17 Jun 2014 09:15:40 +0100 >Subject: [PATCH] 5672 Gives RSS icons to search history > >This patch adds an extra column to the table for the search history (this session and previous searches) with RSS icons for each search. > >Test plan: >* Verify that there is no RSS icons for saved searches in opac >* Install the patch >* Verify that there is no RSS icons for saved searches and searches for the current session in Opac. >* Test that the RSS links produce the expected result. > >Note: I left out authority searches since I have very little experience with authority searches and didn't feel I could test it properly. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >index 9c2e2be..a440e80 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-search-history.tt >@@ -53,6 +53,7 @@ > <thead> > <tr> > <th>Date</th> >+ <th>Subscribe</th> > <th>Search</th> > <th>Results</th> > </tr> >@@ -61,6 +62,7 @@ > [% FOREACH s IN current_biblio_searches %] > <tr> > <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td> >+ <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&[% s.query_cgi |html %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a></td> > <td><a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td> > <td>[% s.total %]</td> > </tr> >@@ -81,6 +83,7 @@ > <thead> > <tr> > <th>Date</th> >+ <th>Subscribe</th> > <th>Search</th> > <th>Results</th> > </tr> >@@ -89,6 +92,7 @@ > [% FOREACH s IN previous_biblio_searches %] > <tr> > <td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td> >+ <td><a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html |url %][% limit_cgi |html | url %]&[% s.query_cgi |html %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" class="rsssearchlink"><img src="[% interface %]/[% theme %]/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" class="rsssearchicon"/></a></td> > <td><a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</a></td> > <td>[% s.total %]</td> > </tr> >-- >1.7.10.4
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 5672
:
28881
|
28905
|
28983
|
28984
|
28985
|
29010
|
29011
|
29018