Bug 21464: Hide patron's title not biblio's title

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2018-10-09 14:01:07 -03:00 committed by Tomas Cohen Arazi
parent 8a8c0ae51e
commit 07fa37abbe
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ sub build_csv {
$csv->combine(@keys);
push @lines, $csv->string();
my @private_keys = qw( title firstname surname phone email address address2 zipcode city country streetnumber streettype );
my @private_keys = qw( borrowertitle firstname surname phone email address address2 zipcode city country streetnumber streettype );
# ... and rest of report
foreach my $overdue ( @{ $overdues } ) {
unless ( $logged_in_user->can_see_patron_infos( $overdue->{patron} ) ) {