diff --git a/C4/Items.pm b/C4/Items.pm index a2dcc00e9d..54d13b4d25 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -599,7 +599,7 @@ sub GetItemsForInventory { my $max_cnsort = GetClassSort( $class_source, undef, $maxlocation ); my $select_columns = q{ - SELECT DISTINCT(items.itemnumber), barcode, itemcallnumber, title, author, biblio.biblionumber, biblio.frameworkcode, datelastseen, homebranch, location, notforloan, damaged, itemlost, withdrawn, stocknumber, items.cn_sort, ccode + SELECT DISTINCT(items.itemnumber), barcode, itemcallnumber, title, author, biblio.biblionumber, biblio.frameworkcode, datelastseen, homebranch, location, notforloan, damaged, itemlost, withdrawn, stocknumber, items.cn_sort, ccode, enumchron }; my $select_count = q{SELECT COUNT(DISTINCT(items.itemnumber))}; diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index c249e0d0fd..75f73437fe 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -2800,6 +2800,8 @@ modules: columnname: call_number cannot_be_toggled: 1 cannot_be_modified: 1 + - + columnname: enumchron - columnname: library - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt index 0060335451..f65cf10fe7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt @@ -311,6 +311,7 @@ [% END %] Barcode Call number + Serial enumeration / chronology Library Collection Title @@ -335,6 +336,10 @@ [% result.itemcallnumber | html %] + + [% result.enumchron | html %] + + [% Branches.GetName( result.homebranch ) | html %] [% result.location | html %] diff --git a/tools/inventory.pl b/tools/inventory.pl index 3f4ee2f55a..99ff1d2b4a 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -443,7 +443,7 @@ if ( defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on' ) qw / biblio.title biblio.author items.barcode items.itemnumber items.homebranch items.location items.ccode - items.itemcallnumber items.notforloan + items.itemcallnumber items.enumchron items.notforloan items.itemlost items.damaged items.withdrawn items.stocknumber / @@ -458,7 +458,7 @@ if ( defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on' ) print $csv->string, "\n"; my @keys = - qw/ title author barcode itemnumber homebranch location ccode itemcallnumber notforloan itemlost damaged withdrawn stocknumber /; + qw/ title author barcode itemnumber homebranch location ccode itemcallnumber enumchron notforloan itemlost damaged withdrawn stocknumber /; for my $item (@$loop) { my @line; for my $key (@keys) {