projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92bca53
)
Bug 3070: Fixes RSS feed for single result search.
author
Garry Collum
<gcollum@gmail.com>
Thu, 18 Feb 2010 01:19:50 +0000
(20:19 -0500)
committer
Galen Charlton
<gmcharlt@gmail.com>
Thu, 18 Feb 2010 16:10:33 +0000
(11:10 -0500)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/opac-search.pl
patch
|
blob
|
history
diff --git
a/opac/opac-search.pl
b/opac/opac-search.pl
index
2345783
..
261f274
100755
(executable)
--- a/
opac/opac-search.pl
+++ b/
opac/opac-search.pl
@@
-512,7
+512,8
@@
for (my $i=0;$i<=@servers;$i++) {
}
}
## If there's just one result, redirect to the detail page
- if ($total == 1) {
+ if ($total == 1 && $format ne 'rss2'
+ && $format ne 'opensearchdescription' && $format ne 'atom') {
my $biblionumber=$newresults[0]->{biblionumber};
if (C4::Context->preference('BiblioDefaultView') eq 'isbd') {
print $cgi->redirect("/cgi-bin/koha/opac-ISBDdetail.pl?biblionumber=$biblionumber");