Bug 5672: Gives RSS icons to catalog search history placed to the left of saved searches
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. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
parent
61b9396ba0
commit
be7009fdb7
1 changed files with 2 additions and 6 deletions
|
@ -53,7 +53,6 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
<th>Subscribe</th>
|
|
||||||
<th>Search</th>
|
<th>Search</th>
|
||||||
<th>Results</th>
|
<th>Results</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -62,8 +61,7 @@
|
||||||
[% FOREACH s IN current_biblio_searches %]
|
[% FOREACH s IN current_biblio_searches %]
|
||||||
<tr>
|
<tr>
|
||||||
<td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
|
<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="[% 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> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</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>
|
<td>[% s.total %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
@ -83,7 +81,6 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Date</th>
|
<th>Date</th>
|
||||||
<th>Subscribe</th>
|
|
||||||
<th>Search</th>
|
<th>Search</th>
|
||||||
<th>Results</th>
|
<th>Results</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -92,8 +89,7 @@
|
||||||
[% FOREACH s IN previous_biblio_searches %]
|
[% FOREACH s IN previous_biblio_searches %]
|
||||||
<tr>
|
<tr>
|
||||||
<td><span title="[% s.time %]">[% s.time |$KohaDates with_hours => 1 %]</span></td>
|
<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="[% 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> <a href="/cgi-bin/koha/opac-search.pl?[% s.query_cgi |html %]">[% s.query_desc |html %]</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>
|
<td>[% s.total %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
|
|
Loading…
Reference in a new issue