- reservedate => format_date( $data->{reservedate} ),
- priority => $data->{priority},
- name => $data->{borrower},
- title => $data->{title},
- subtitle => $data->{subtitle},
- author => $data->{author},
- notes => $data->{notes},
- itemnum => $data->{itemnumber},
- biblionumber => $data->{biblionumber},
- holdingbranch => $data->{holdingbranch},
- listbranch => $data->{listbranch},
- branch => $data->{branch},
- itemcallnumber => $data->{itemcallnumber},
- location => $data->{l_location},
- itype => $data->{l_itype},
- reservecount => $data->{reservecount},
- itemcount => $data->{itemcount},
- ratiocalc => sprintf("%.0d", $ratio_atleast1 ? ($thisratio / $ratio) : $thisratio),
- thisratio => sprintf("%.2f", $thisratio),
- thisratio_atleast1 => ($thisratio >= 1) ? 1 : 0,
- listcall => $data->{listcall}
+ reservedate => $data->{reservedate},
+ priority => $data->{priority},
+ name => $data->{borrower},
+ title => $data->{title},
+ subtitle => $data->{subtitle},
+ author => $data->{author},
+ itemnum => $data->{itemnumber},
+ biblionumber => $data->{biblionumber},
+ holdingbranch => $data->{holdingbranch},
+ homebranch_list => [split('\|', $data->{homebranch_list})],
+ holdingbranch_list => [split('\|', $data->{holdingbranch_list})],
+ branch => $data->{branch},
+ itemcallnumber => $data->{itemcallnumber},
+ location => [split('\|', $data->{l_location})],
+ itype => [split('\|', $data->{l_itype})],
+ reservecount => $data->{reservecount},
+ itemcount => $data->{itemcount},
+ ratiocalc => sprintf( "%.0d", $ratio_atleast1 ? ( $thisratio / $ratio ) : $thisratio ),
+ thisratio => sprintf( "%.2f", $thisratio ),
+ thisratio_atleast1 => ( $thisratio >= 1 ) ? 1 : 0,
+ listcall => [split('\|', $data->{listcall})]