Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Kyle M Hall ecd89d2030 Bug 14945 - Add the ability to store the last patron to return an item
Currently if the AnonymousPatron system preference is in use, all patron
data is anonymized. Some libraries would like to be able to see the last
patron who returned out an item ( in case of damage ) but still keep all
other patrons anonymized.

* Add the table items_last_borrower ( id, itemnumber, borrowernumber )
* Add new system preference StoreLastBorrower
* If StoreLastBorrower is enabled, upon checkin have Koha insert into
  this table the patron who last returned this item. Replace existing
  row based on itemnumber if exists.
* If table has a row for a given item, link to the patron from the item
  details page.

Test plan:
1) Apply patch
2) Run updatedatabase.pl
3) Enable StoreLastBorrower
4) Issue an item to a patron and return said item
5) Issue the same item to a second patron, do not return it.
6) View moredetail.pl for the given bib, find the given item. There
   should be a new field in the history list 'Last returned by' with a link
   to the last patron to return the item.

Optionally, you can also verify this works even if patron issuing
history has been set to anonymize issues upon return.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jen DeMuth <JDeMuth@roseville.ca.us>
Signed-off-by: Tom Misilo <misilot@fit.edu>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2015-12-31 19:32:20 +00:00
..
preferences Bug 14945 - Add the ability to store the last patron to return an item 2015-12-31 19:32:20 +00:00
admin-home.tt Bug 15099 [QA Followup] - Make bug pass koha-qa.pl 2015-12-30 16:49:16 +00:00
aqbudgetperiods.tt
aqbudgets.tt
aqcontract.tt Bug 14931: (Follow-up) Validate date entry in contracts 2015-10-29 12:00:36 -03:00
aqplan.tt Bug 15049: Simplify code in aqplan.tt 2015-12-30 23:34:34 +00:00
audio_alerts.tt Bug 11431: (QA followup) Add ability to edit audio alerts 2015-11-04 12:33:10 -03:00
auth_subfields_structure.tt Bug 15233: (followup) Remove 2 sentences. 2015-12-29 23:14:39 +00:00
auth_tag_structure.tt Bug 15381: Remove getauthtypes and getauthtype 2015-12-31 18:59:02 +00:00
authorised_values.tt
authtypes.tt Bug 15380: Use Koha::Authority::Type[s] in admin script 2015-12-31 18:50:41 +00:00
biblio_framework.tt Bug 14889: Fix error msg on duplicate 2015-12-31 19:04:45 +00:00
branch_transfer_limits.tt Bug 15363: Translatability: Fix issue with ambiguous 'all' on Administration > Set library checkin and transfer policy 2015-12-29 20:35:49 +00:00
branches.tt Bug 15373: More changes of Zip to ZIP on intranet 2015-12-30 16:30:35 +00:00
categories.tt Bug 15099 [QA Followup] - Make bug pass koha-qa.pl 2015-12-30 16:49:16 +00:00
checkmarc.tt
cities.tt Bug 15373: More changes of Zip to ZIP on intranet 2015-12-30 16:30:35 +00:00
classsources.tt
clone-rules.tt
columns_settings.tt Bug 15361: Translatability: Fix issue on Administration Columns settings 2015-12-29 20:28:04 +00:00
currency.tt
didyoumean.tt Bug 15362: Translatability: Fix issue on Administration 'Did you mean?' 2015-12-29 20:33:43 +00:00
fieldmapping.tt
item_circulation_alerts.tt
items_search_field.tt
items_search_fields.tt
itemtypes.tt
koha2marclinks.tt Bug 15236: Better translatibility in "Connect biblio.biblionumber to a MARC subfield" 2015-12-29 23:29:56 +00:00
localization.tt
marc_subfields_structure.tt Bug 15233: (followup) Remove 2 sentences. 2015-12-29 23:14:39 +00:00
marctagstructure.tt
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
patron-attr-types.tt
preferences.tt
printers.tt
smart-rules.tt Bug 9129 - Add the ability to set the maximum fine for an item to its replacement price 2015-12-31 15:29:36 +00:00
sru_modmapping.tt
systempreferences.tt
transport-cost-matrix.tt
z3950servers.tt