projects
/
koha_fer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 10741: restore holdability of in-transit items on OPAC search results
[koha_fer]
/
catalogue
/
issuehistory.pl
diff --git
a/catalogue/issuehistory.pl
b/catalogue/issuehistory.pl
index
2d415e1
..
a5c4d0d
100755
(executable)
--- a/
catalogue/issuehistory.pl
+++ b/
catalogue/issuehistory.pl
@@
-25,8
+25,8
@@
use C4::Output;
use C4::Circulation; # GetBiblioIssues
use C4::Biblio; # GetBiblio GetBiblioFromItemNumber
use C4::Circulation; # GetBiblioIssues
use C4::Biblio; # GetBiblio GetBiblioFromItemNumber
-use C4::Dates qw/format_date/;
use C4::Search; # enabled_staff_search_views
use C4::Search; # enabled_staff_search_views
+use Koha::DateUtils;
my $query = new CGI;
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
my $query = new CGI;
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
@@
-61,10
+61,10
@@
if ($itemnumber){
);
} else {
$issues = GetBiblioIssues($biblionumber);
);
} else {
$issues = GetBiblioIssues($biblionumber);
-
my (undef,@biblio)=
GetBiblio($biblionumber);
+
my $biblio =
GetBiblio($biblionumber);
my $total = scalar @$issues;
$template->param(
my $total = scalar @$issues;
$template->param(
- %{$biblio
[0]
},
+ %{$biblio},
);
}
foreach (@{$issues}){
);
}
foreach (@{$issues}){