projects
/
koha-bibliografija
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
90916f5
)
added biblio year >= 2012
koha-dev
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 21 Sep 2017 19:17:47 +0000
(21:17 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Thu, 21 Sep 2017 19:17:47 +0000
(21:17 +0200)
html.pl
patch
|
blob
|
history
diff --git
a/html.pl
b/html.pl
index
e9194b3
..
9769464
100755
(executable)
--- a/
html.pl
+++ b/
html.pl
@@
-870,7
+870,7
@@
foreach my $department ( @departments ) {
foreach my $authid ( @{ $auth_department->{$department} } ) {
next unless exists $authors->{$authid}->{$type}->{$category};
- my @biblionumbers = @{ $authors->{$authid}->{$type}->{$category} };
+ my @biblionumbers =
grep { $biblio_year->{$_} >= 2012 }
@{ $authors->{$authid}->{$type}->{$category} };
$dep_au_count->{ $department }->{ $authid }->{ $label } += scalar @biblionumbers;
}