Bug 29844: Fix ->search occurrences
[srvgit] / opac / opac-downloadshelf.pl
index 31da711..8eff0f6 100755 (executable)
@@ -153,7 +153,7 @@ if ( $shelf and $shelf->can_be_viewed( $borrowernumber ) ) {
                         used_for   => 'export_records',
                         staff_only => 0
                     }
-                )
+                )->as_list
             ]
         );
         $template->param( shelf => $shelf );