X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=serials%2Fserial-issues.pl;h=b57baa148c87730494c35c1f464d6c238565beb1;hb=79e8b928ab009b8ba81f0db8b3c0f45605a89621;hp=842876a688ad1d25105d5d9915b7dac7b17b2fe8;hpb=8ad2c7d7acc3cb0033426bd78928214a22ad9dd1;p=koha.git diff --git a/serials/serial-issues.pl b/serials/serial-issues.pl index 842876a688..b57baa148c 100755 --- a/serials/serial-issues.pl +++ b/serials/serial-issues.pl @@ -13,9 +13,9 @@ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR # A PARTICULAR PURPOSE. See the GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along with -# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place, -# Suite 330, Boston, MA 02111-1307 USA +# You should have received a copy of the GNU General Public License along +# with Koha; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. =head1 NAME @@ -57,7 +57,6 @@ my $dbh = C4::Context->dbh; my $selectview = $query->param('selectview'); $selectview = C4::Context->preference("SubscriptionHistory") unless $selectview; -my $sth; my ($template, $loggedinuser, $cookie); my $biblionumber = $query->param('biblionumber'); if ($selectview eq "full"){ @@ -72,7 +71,7 @@ if ($selectview eq "full"){ query => $query, type => "intranet", authnotrequired => 0, - flagsrequired => {serials => 1}, + flagsrequired => {serials => '*'}, debug => 1, }); @@ -109,4 +108,5 @@ if ($selectview eq "full"){ virtualshelves => "".C4::Context->preference("virtualshelves"), ); } +$template->param((uc(C4::Context->preference("marcflavour"))) => 1); output_html_with_http_headers $query, $cookie, $template->output;