View | Details | Raw Unified | Return to bug 38946
Collapse All | Expand All

(-)a/C4/Items.pm (-1 / +1 lines)
Lines 599-605 sub GetItemsForInventory { Link Here
599
    my $max_cnsort = GetClassSort( $class_source, undef, $maxlocation );
599
    my $max_cnsort = GetClassSort( $class_source, undef, $maxlocation );
600
600
601
    my $select_columns = q{
601
    my $select_columns = q{
602
        SELECT DISTINCT(items.itemnumber), barcode, itemcallnumber, title, author, biblio.biblionumber, biblio.frameworkcode, datelastseen, homebranch, location, notforloan, damaged, itemlost, withdrawn, stocknumber, items.cn_sort, ccode
602
        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
603
603
604
    };
604
    };
605
    my $select_count = q{SELECT COUNT(DISTINCT(items.itemnumber))};
605
    my $select_count = q{SELECT COUNT(DISTINCT(items.itemnumber))};
(-)a/admin/columns_settings.yml (+2 lines)
Lines 2800-2805 modules: Link Here
2800
                columnname: call_number
2800
                columnname: call_number
2801
                cannot_be_toggled: 1
2801
                cannot_be_toggled: 1
2802
                cannot_be_modified: 1
2802
                cannot_be_modified: 1
2803
            -
2804
                columnname: enumchron
2803
            -
2805
            -
2804
                columnname: library
2806
                columnname: library
2805
            -
2807
            -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (+5 lines)
Lines 311-316 Link Here
311
                            [% END %]
311
                            [% END %]
312
                            <th id="barcode" data-colname="barcode">Barcode</th>
312
                            <th id="barcode" data-colname="barcode">Barcode</th>
313
                            <th id="call_number" data-colname="call_number">Call number</th>
313
                            <th id="call_number" data-colname="call_number">Call number</th>
314
                            <th id="enumchron" data-colname="enumchron">Serial enumeration / chronology</th>
314
                            <th id="library" data-colname="library">Library</th>
315
                            <th id="library" data-colname="library">Library</th>
315
                            <th id="collection" data-colname="collection">Collection</th>
316
                            <th id="collection" data-colname="collection">Collection</th>
316
                            <th id="title" data-colname="title" class="anti-the">Title</th>
317
                            <th id="title" data-colname="title" class="anti-the">Title</th>
Lines 335-340 Link Here
335
336
336
                                <td data-order="[% result.cn_sort | html %]"> [% result.itemcallnumber | html %] </td>
337
                                <td data-order="[% result.cn_sort | html %]"> [% result.itemcallnumber | html %] </td>
337
338
339
                                <td>
340
                                    <span class="enumchron">[% result.enumchron | html %]</span>
341
                                </td>
342
338
                                <td>
343
                                <td>
339
                                    [% Branches.GetName( result.homebranch ) | html %]
344
                                    [% Branches.GetName( result.homebranch ) | html %]
340
                                    <span class="shelvingloc">[% result.location | html %]</span>
345
                                    <span class="shelvingloc">[% result.location | html %]</span>
(-)a/tools/inventory.pl (-3 / +2 lines)
Lines 443-449 if ( defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on' ) Link Here
443
        qw / biblio.title    biblio.author
443
        qw / biblio.title    biblio.author
444
        items.barcode        items.itemnumber
444
        items.barcode        items.itemnumber
445
        items.homebranch     items.location   items.ccode
445
        items.homebranch     items.location   items.ccode
446
        items.itemcallnumber items.notforloan
446
        items.itemcallnumber items.enumchron  items.notforloan
447
        items.itemlost       items.damaged
447
        items.itemlost       items.damaged
448
        items.withdrawn      items.stocknumber
448
        items.withdrawn      items.stocknumber
449
        /
449
        /
Lines 458-464 if ( defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on' ) Link Here
458
    print $csv->string, "\n";
458
    print $csv->string, "\n";
459
459
460
    my @keys =
460
    my @keys =
461
        qw/ title author barcode itemnumber homebranch location ccode itemcallnumber notforloan itemlost damaged withdrawn stocknumber /;
461
        qw/ title author barcode itemnumber homebranch location ccode itemcallnumber enumchron notforloan itemlost damaged withdrawn stocknumber /;
462
    for my $item (@$loop) {
462
    for my $item (@$loop) {
463
        my @line;
463
        my @line;
464
        for my $key (@keys) {
464
        for my $key (@keys) {
465
- 

Return to bug 38946