From dcbe1d5cd0c9c18833e0fa83cf0eacd83e133b15 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Tue, 9 May 2017 00:15:23 -0400 Subject: [PATCH] Bug 18560: RSS link in opac shelves is broken 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 --- opac/opac-shelves.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index 3240506..02052de 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -316,8 +316,8 @@ if ( $op eq 'view' ) { } if ( $query->param('rss') ) { - $this_item->{title} = $content->biblionumber->title; - $this_item->{author} = $content->biblionumber->author; + $this_item->{title} = $content->_result('biblionumber')->biblionumber->title; + $this_item->{author} = $content->_result('biblionumber')->biblionumber->author; } $this_item->{biblionumber} = $biblionumber; -- 2.1.4