Koha moved marcxml column
[koha-bibliografija] / html.pl
diff --git a/html.pl b/html.pl
index 109578b..3bd0cf2 100755 (executable)
--- a/html.pl
+++ b/html.pl
@@ -128,10 +128,11 @@ my $marcxml;
 
 my $sth_select_authors  = $dbh->prepare(q{
 select
-       biblionumber,
+       biblioitems.biblionumber,
        itemtype,
-       marcxml
+       metadata as marcxml
 from biblioitems
+join biblio_metadata on (biblio_metadata.biblionumber = biblioitems.biblionumber)
 where
        agerestriction > 0
 });