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

(-)a/C4/Circulation.pm (+6 lines)
Lines 830-835 sub CanBookBeIssued { Link Here
830
                interface      => C4::Context->interface,
830
                interface      => C4::Context->interface,
831
            }
831
            }
832
        );
832
        );
833
834
        #increment items.localuse
835
        my $localuse_count = $item_object->localuse;
836
        $localuse_count++;
837
        $item_object->localuse( $localuse_count )->store;
838
833
        ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item
839
        ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item
834
        return( { STATS => 1 }, {});
840
        return( { STATS => 1 }, {});
835
    }
841
    }
(-)a/admin/columns_settings.yml (+6 lines)
Lines 388-393 modules: Link Here
388
            -
388
            -
389
              columnname: holdings_renewals
389
              columnname: holdings_renewals
390
              is_hidden: 1
390
              is_hidden: 1
391
            -
392
              columnname: holdings_localuse
393
              is_hidden: 1
391
            -
394
            -
392
              columnname: holdings_dateaccessioned
395
              columnname: holdings_dateaccessioned
393
            -
396
            -
Lines 451-456 modules: Link Here
451
            -
454
            -
452
              columnname: otherholdings_renewals
455
              columnname: otherholdings_renewals
453
              is_hidden: 1
456
              is_hidden: 1
457
            -
458
              columnname: otherholdings_localuse
459
              is_hidden: 1
454
            -
460
            -
455
              columnname: otherholdings_dateaccessioned
461
              columnname: otherholdings_dateaccessioned
456
            -
462
            -
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-1 / +2 lines)
Lines 362-367 Link Here
362
                <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen">Last seen</th>
362
                <th id="[% tab | html %]_lastseen" data-colname="[% tab | html %]_lastseen">Last seen</th>
363
                <th id="[% tab | html %]_issues" data-colname="[% tab | html %]_issues">Checkouts</th>
363
                <th id="[% tab | html %]_issues" data-colname="[% tab | html %]_issues">Checkouts</th>
364
                <th id="[% tab | html %]_renewals" data-colname="[% tab | html %]_renewals">Renewals</th>
364
                <th id="[% tab | html %]_renewals" data-colname="[% tab | html %]_renewals">Renewals</th>
365
                <th id="[% tab | html %]_localuse" data-colname="[% tab | html %]_localuse">Local uses</th>
365
                <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned">Date accessioned</th>
366
                <th id="[% tab | html %]_dateaccessioned" data-colname="[% tab | html %]_dateaccessioned">Date accessioned</th>
366
                <th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed">Date last borrowed</th>
367
                <th id="[% tab | html %]_datelastborrowed" data-colname="[% tab | html %]_datelastborrowed">Date last borrowed</th>
367
                <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th>
368
                <th id="[% tab | html %]_barcode" data-colname="[% tab | html %]_barcode">Barcode</th>
Lines 565-570 Link Here
565
                    <td class="datelastseen" data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td>
566
                    <td class="datelastseen" data-order="[% item.datelastseen | html %]">[% item.datelastseen | $KohaDates with_hours => 1 %]</td>
566
                    <td class="issues" data-order="[% item.issues || 0 | html %]">[% item.issues || 0 | html %]</td>
567
                    <td class="issues" data-order="[% item.issues || 0 | html %]">[% item.issues || 0 | html %]</td>
567
                    <td class="renewals" data-order="[% item.renewals || 0 | html %]">[% item.renewals || 0 | html %]</td>
568
                    <td class="renewals" data-order="[% item.renewals || 0 | html %]">[% item.renewals || 0 | html %]</td>
569
                    <td class="localuse" data-order="[% item.localuse || 0 | html %]">[% item.localuse || 0 | html %]</td>
568
                    <td class="dateaccessioned" data-order="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</td>
570
                    <td class="dateaccessioned" data-order="[% item.dateaccessioned | html %]">[% item.dateaccessioned | $KohaDates %]</td>
569
                    <td class="datelastborrowed" data-order="[% item.datelastborrowed | html %]">[% item.datelastborrowed | $KohaDates %]</td>
571
                    <td class="datelastborrowed" data-order="[% item.datelastborrowed | html %]">[% item.datelastborrowed | $KohaDates %]</td>
570
                    <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>
572
                    <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>
571
- 

Return to bug 16122