@@ -, +, @@ --- C4/Circulation.pm | 6 ++++++ admin/columns_settings.yml | 6 ++++++ koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 ++ 3 files changed, 14 insertions(+) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -826,6 +826,12 @@ sub CanBookBeIssued { interface => C4::Context->interface, } ); + + #increment items.localuse + my $localuse_count = $item_object->localuse; + $localuse_count++; + $item_object->localuse( $localuse_count )->store; + ModDateLastSeen( $item_object->itemnumber ); # FIXME Move to Koha::Item return( { STATS => 1 }, {}); } --- a/admin/columns_settings.yml +++ a/admin/columns_settings.yml @@ -400,6 +400,9 @@ modules: - columnname: holdings_renewals is_hidden: 1 + - + columnname: holdings_localuse + is_hidden: 1 - columnname: holdings_dateaccessioned - @@ -463,6 +466,9 @@ modules: - columnname: otherholdings_renewals is_hidden: 1 + - + columnname: otherholdings_localuse + is_hidden: 1 - columnname: otherholdings_dateaccessioned - --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -367,6 +367,7 @@ Last seen Checkouts Renewals + Local uses Date accessioned Date last borrowed Barcode @@ -571,6 +572,7 @@ [% item.datelastseen | $KohaDates with_hours => 1 %] [% item.issues || 0 | html %] [% item.renewals || 0 | html %] + [% item.localuse || 0 | html %] [% item.dateaccessioned | $KohaDates %] [% item.datelastborrowed | $KohaDates %] [% item.barcode | html %] --