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

(-)a/C4/Items.pm (-1 / +1 lines)
Lines 603-609 sub GetItemsForInventory { Link Here
603
    my $max_cnsort = GetClassSort( $class_source, undef, $maxlocation );
603
    my $max_cnsort = GetClassSort( $class_source, undef, $maxlocation );
604
604
605
    my $select_columns = q{
605
    my $select_columns = q{
606
        SELECT DISTINCT(items.itemnumber), barcode, itemcallnumber, title, author, biblio.biblionumber, biblio.frameworkcode, datelastseen, homebranch, location, notforloan, damaged, itemlost, withdrawn, stocknumber, items.cn_sort, ccode
606
        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
607
607
608
    };
608
    };
609
    my $select_count = q{SELECT COUNT(DISTINCT(items.itemnumber))};
609
    my $select_count = q{SELECT COUNT(DISTINCT(items.itemnumber))};
(-)a/admin/columns_settings.yml (+2 lines)
Lines 2607-2612 modules: Link Here
2607
                columnname: call_number
2607
                columnname: call_number
2608
                cannot_be_toggled: 1
2608
                cannot_be_toggled: 1
2609
                cannot_be_modified: 1
2609
                cannot_be_modified: 1
2610
            -
2611
                columnname: enumchron
2610
            -
2612
            -
2611
                columnname: library
2613
                columnname: library
2612
            -
2614
            -
(-)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 436-442 if ( defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on' ) Link Here
436
        qw / biblioitems.title    biblio.author
436
        qw / biblioitems.title    biblio.author
437
        items.barcode        items.itemnumber
437
        items.barcode        items.itemnumber
438
        items.homebranch     items.location   items.ccode
438
        items.homebranch     items.location   items.ccode
439
        items.itemcallnumber items.notforloan
439
        items.itemcallnumber items.enumchron  items.notforloan
440
        items.itemlost       items.damaged
440
        items.itemlost       items.damaged
441
        items.withdrawn      items.stocknumber
441
        items.withdrawn      items.stocknumber
442
        /
442
        /
Lines 451-457 if ( defined $input->param('CSVexport') && $input->param('CSVexport') eq 'on' ) Link Here
451
    print $csv->string, "\n";
451
    print $csv->string, "\n";
452
452
453
    my @keys =
453
    my @keys =
454
        qw/ title author barcode itemnumber homebranch location ccode itemcallnumber notforloan itemlost damaged withdrawn stocknumber /;
454
        qw/ title author barcode itemnumber homebranch location ccode itemcallnumber enumchron notforloan itemlost damaged withdrawn stocknumber /;
455
    for my $item (@$loop) {
455
    for my $item (@$loop) {
456
        my @line;
456
        my @line;
457
        for my $key (@keys) {
457
        for my $key (@keys) {
458
- 

Return to bug 38946