[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-serial-issues.pl
From: |
Joshua Ferraro |
Subject: |
[Koha-cvs] koha/opac opac-serial-issues.pl |
Date: |
Sun, 21 May 2006 02:29:09 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch:
Changes by: Joshua Ferraro <address@hidden> 06/05/21 02:29:09
Modified files:
opac : opac-serial-issues.pl
Log message:
syncing dev-week and HEAD
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/opac/opac-serial-issues.pl.diff?tr1=1.5&tr2=1.6&r1=text&r2=text
Patches:
Index: koha/opac/opac-serial-issues.pl
diff -u koha/opac/opac-serial-issues.pl:1.5 koha/opac/opac-serial-issues.pl:1.6
--- koha/opac/opac-serial-issues.pl:1.5 Thu Aug 4 08:54:56 2005
+++ koha/opac/opac-serial-issues.pl Sun May 21 02:29:09 2006
@@ -25,17 +25,10 @@
if ($selectview eq "full"){
my $subscriptions =
get_full_subscription_list_from_biblionumber($biblionumber);
- # now, check is there is an alert subscription for one of the
subscriptions
- foreach (@$subscriptions) {
- if (getalert($loggedinuser,'issue',$_->{subscriptionid})) {
- warn "SUBSCRIPTION FOR :
$loggedinuser,'issue',$_->{subscriptionid}";
- }
- }
my $title = $subscriptions->[0]{bibliotitle};
my $yearmin=$subscriptions->[0]{year};
my $yearmax=$subscriptions->[scalar(@$subscriptions)-1]{year};
-
-
+
($template, $loggedinuser, $cookie)
= get_template_and_user({template_name =>
"opac-full-serial-issues.tmpl",
query => $query,
@@ -60,13 +53,6 @@
} else {
my $subscriptions =
get_subscription_list_from_biblionumber($biblionumber);
- # now, check is there is an alert subscription for one of the
subscriptions
- foreach (@$subscriptions) {
- if (getalert($loggedinuser,'issue',$_->{subscriptionid})) {
- $_->{hasalert} = 1;
- }
- }
-
($template, $loggedinuser, $cookie)
= get_template_and_user({template_name => "opac-serial-issues.tmpl",
query => $query,
@@ -81,8 +67,6 @@
$template->param(
biblionumber => $query->param('biblionumber'),
subscription_LOOP => $subscriptions,
- suggestion => C4::Context->preference("suggestion"),
- virtualshelves => C4::Context->preference("virtualshelves"),
);
}
output_html_with_http_headers $query, $cookie, $template->output;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/opac opac-serial-issues.pl,
Joshua Ferraro <=