Adding borrowernotes to the list of flags to trigger the 'flagged' variable. This helps display of flags and notes mimic the display in circulation
This commit is contained in:
parent
f66cc8fd67
commit
228ed8afc8
|
|
@ -71,7 +71,7 @@ $data->{'expiry'} = format_date($data->{'expiry'});
|
|||
$data->{'dateofbirth'} = format_date($data->{'dateofbirth'});
|
||||
$data->{'IS_ADULT'} = ($data->{'categorycode'} ne 'I');
|
||||
|
||||
if($data->{'debarred'} || $data->{'gonenoaddress'} || $data->{'lost'}){
|
||||
if($data->{'debarred'} || $data->{'gonenoaddress'} || $data->{'lost'} || $data->{'borrowernotes'}){
|
||||
$template->param(flagged =>1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue