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

(-)a/C4/Circulation.pm (+6 lines)
Lines 826-831 sub CanBookBeIssued { Link Here
826
                interface      => C4::Context->interface,
826
                interface      => C4::Context->interface,
827
            }
827
            }
828
        );
828
        );
829
830
        #increment items.localuse
831
        my $localuse_count = $item_object->localuse;
832
        $localuse_count++;
833
        $item_object->localuse( $localuse_count )->store;
834
829
        ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item
835
        ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item
830
        return( { STATS => 1 }, {});
836
        return( { STATS => 1 }, {});
831
    }
837
    }
(-)a/admin/columns_settings.yml (+6 lines)
Lines 400-405 modules: Link Here
400
            -
400
            -
401
              columnname: holdings_renewals
401
              columnname: holdings_renewals
402
              is_hidden: 1
402
              is_hidden: 1
403
            -
404
              columnname: holdings_localuse
405
              is_hidden: 1
403
            -
406
            -
404
              columnname: holdings_dateaccessioned
407
              columnname: holdings_dateaccessioned
405
            -
408
            -
Lines 463-468 modules: Link Here
463
            -
466
            -
464
              columnname: otherholdings_renewals
467
              columnname: otherholdings_renewals
465
              is_hidden: 1
468
              is_hidden: 1
469
            -
470
              columnname: otherholdings_localuse
471
              is_hidden: 1
466
            -
472
            -
467
              columnname: otherholdings_dateaccessioned
473
              columnname: otherholdings_dateaccessioned
468
            -
474
            -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +2 lines)
Lines 367-372 Link Here
367
                <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen">Last seen</th>
367
                <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen">Last seen</th>
368
                <th id="[% tab | html %]_issues" data-colname="[% tab | html %]_issues">Checkouts</th>
368
                <th id="[% tab | html %]_issues" data-colname="[% tab | html %]_issues">Checkouts</th>
369
                <th id="[% tab | html %]_renewals" data-colname="[% tab | html %]_renewals">Renewals</th>
369
                <th id="[% tab | html %]_renewals" data-colname="[% tab | html %]_renewals">Renewals</th>
370
                <th id="[% tab | html %]_localuse" data-colname="[% tab | html %]_localuse">Local uses</th>
370
                <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned">Date accessioned</th>
371
                <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned">Date accessioned</th>
371
                <th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed">Date last borrowed</th>
372
                <th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed">Date last borrowed</th>
372
                <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th>
373
                <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th>
Lines 571-576 Link Here
571
                    <td class="datelastseen" data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td>
572
                    <td class="datelastseen" data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td>
572
                    <td class="issues" data-order="[% item.issues || 0 | html %]">[% item.issues || 0 | html %]</td>
573
                    <td class="issues" data-order="[% item.issues || 0 | html %]">[% item.issues || 0 | html %]</td>
573
                    <td class="renewals" data-order="[% item.renewals || 0 | html %]">[% item.renewals || 0 | html %]</td>
574
                    <td class="renewals" data-order="[% item.renewals || 0 | html %]">[% item.renewals || 0 | html %]</td>
575
                    <td class="localuse" data-order="[% item.localuse || 0 | html %]">[% item.localuse || 0 | html %]</td>
574
                    <td class="dateaccessioned" data-order="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</td>
576
                    <td class="dateaccessioned" data-order="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</td>
575
                    <td class="datelastborrowed" data-order="[% item.datelastborrowed | html %]">[% item.datelastborrowed | $KohaDates %]</td>
577
                    <td class="datelastborrowed" data-order="[% item.datelastborrowed | html %]">[% item.datelastborrowed | $KohaDates %]</td>
576
                    <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td>
578
                    <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% item.itemnumber | uri %]&amp;biblionumber=[% item.biblionumber | uri %]&amp;bi=[% item.biblioitemnumber | uri %]#item[% item.itemnumber | uri %]">[% item.barcode | html %]</a></td>
577
- 

Return to bug 16122