Bug 18560: RSS link in opac shelves is broken
authorMark Tompsett <mtompset@hotmail.com>
Tue, 9 May 2017 04:15:23 +0000 (00:15 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 May 2017 12:45:02 +0000 (08:45 -0400)
TEST PLAN
---------
1) have books entered
2) log in create a list
3) add books to list
4) display list
5) click the RSS link button.
   -- bad HASH error.
6) apply patch
7) repeat steps 4&5
   -- readble junk without error messages.
8) run koha qa test tools

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
opac/opac-shelves.pl

index 3240506..ecbbc6c 100755 (executable)
@@ -315,11 +315,6 @@ if ( $op eq 'view' ) {
                     $this_item->{incart} = 1;
                 }
 
-                if ( $query->param('rss') ) {
-                    $this_item->{title} = $content->biblionumber->title;
-                    $this_item->{author} = $content->biblionumber->author;
-                }
-
                 $this_item->{biblionumber} = $biblionumber;
                 push @items, $this_item;
             }