@@ -, +, @@ --- C4/Creators/Lib.pm | 3 ++- labels/label-edit-batch.pl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) --- a/C4/Creators/Lib.pm +++ a/C4/Creators/Lib.pm @@ -298,7 +298,7 @@ sub get_label_summary { my %params = @_; my $label_number = 0; my @label_summaries = (); - my $query = " SELECT b.title, b.author, bi.itemtype, i.barcode, i.biblionumber, i.itype + my $query = " SELECT b.title, b.author, bi.itemtype, i.barcode, i.itemcallnumber, i.biblionumber, i.itype FROM creator_batches AS c LEFT JOIN items AS i ON (c.item_number=i.itemnumber) LEFT JOIN biblioitems AS bi ON (i.biblioitemnumber=bi.biblioitemnumber) LEFT JOIN biblio AS b ON (bi.biblionumber=b.biblionumber) @@ -324,6 +324,7 @@ sub get_label_summary { $label_summary->{'_item_type'} = C4::Context->preference("item-level_itypes") ? $record->{'itype'} : $record->{'itemtype'}; $label_summary->{'_barcode'} = $record->{'barcode'}; $label_summary->{'_item_number'} = $item->{'item_number'}; + $label_summary->{'_item_cn'} = $record->{'itemcallnumber'}; $label_summary->{'_label_id'} = $item->{'label_id'}; push (@label_summaries, $label_summary); } --- a/labels/label-edit-batch.pl +++ a/labels/label-edit-batch.pl @@ -51,6 +51,7 @@ my $batch = undef; my $display_columns = [ {_label_number => {label => 'Label Number', link_field => 0}}, {_summary => {label => 'Summary', link_field => 0}}, {_item_type => {label => 'Item Type', link_field => 0}}, + {_item_cn => {label => 'Item Callnumber', link_field => 0}}, {_barcode => {label => 'Barcode', link_field => 0}}, {_delete => {label => 'Actions', link_field => 0}}, {select => {label => 'Select', value => '_label_id'}}, --