| List Member: |
| Name |
- Location |
Rank |
Delete |
|
- |
|
&subscriptionid=&op=delete">Delete |
@@ -88,4 +86,4 @@ href="/cgi-bin/koha/serials/routing.pl?subscriptionid=
-
\ No newline at end of file
+
diff --git a/serials/routing-preview.pl b/serials/routing-preview.pl
index 19d80f7fdc..ad57782ca4 100755
--- a/serials/routing-preview.pl
+++ b/serials/routing-preview.pl
@@ -18,6 +18,7 @@ use C4::Biblio;
use C4::Items;
use C4::Serials;
use URI::Escape;
+use C4::Branch;
my $query = new CGI;
my $subscriptionid = $query->param('subscriptionid');
@@ -59,6 +60,7 @@ if($ok){
my ($count2,@bibitems) = GetBiblioItemByBiblioNumber($biblio);
my @itemresults = GetItemsInfo($subs->{'biblionumber'}, 'intra');
my $branch = $itemresults[0]->{'holdingbranch'};
+ my $branchname = GetBranchName($branch);
my $const = 'o';
my $notes;
my $title = $subs->{'bibliotitle'};
@@ -84,7 +86,7 @@ if($ok){
flagsrequired => {serials => 1},
debug => 1,
});
- $template->param("libraryname"=>C4::Context->preference("LibraryName"));
+ $template->param("libraryname"=>$branchname);
} else {
($template, $loggedinuser, $cookie)
= get_template_and_user({template_name => "serials/routing-preview.tmpl",
|