Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 15049: (followup) Add warning about "No active currency" 2015-12-30 23:34:34 +00:00
admin Bug 14945 - Add the ability to store the last patron to return an item 2015-12-31 19:32:20 +00:00
authorities Bug 15381: Remove getauthtypes and getauthtype 2015-12-31 18:59:02 +00:00
basket Bug 14915: (QA followup) Replace fa-zoom-in and fa-zoom-out 2015-10-27 10:03:51 -03:00
batch
catalogue Bug 14945 - Add the ability to store the last patron to return an item 2015-12-31 19:32:20 +00:00
cataloguing Bug 15396: fix MARC21 Leader plugin label '1-4 Record size' 2015-12-30 20:41:36 +00:00
circ Bug 15442 - Checkouts table will not display due to javascript error 2015-12-30 15:07:40 +00:00
common Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
course_reserves Bug 14915: Use Font Awesome instead of Glyphicons for the staff intranet 2015-10-27 10:02:42 -03:00
errors Bug 14574: Fixing error messages on staff client so they make more sense 2015-08-18 13:18:22 -03:00
help Bug 13136: Add missing help file for label-manage.pl 2015-12-30 16:51:38 -07:00
installer Bug 15238: Better translatability for Installer Step 1 2015-12-30 00:33:45 +00:00
labels Bug 15211: adding Tools section sidebar to label creator 2015-12-31 14:58:58 +00:00
members Bug 12342: Patron registration datepicker dropdown shows only 10 years 2015-12-31 15:04:59 +00:00
offline_circ Bug 14321: Integrate Upload.pm into Koha 2015-09-25 12:02:52 -03:00
patron_lists Bug 15213 - fix buttons on patron lists 2015-12-11 16:50:51 +00:00
patroncards Bug 15211: Patron card creator needs tools sidebar 2015-12-31 14:58:58 +00:00
plugins Bug 13941: [2/2] Fix <body> tags missing id/class 2015-04-24 09:47:38 -03:00
reports Bug 10154: QA follow-up - Spelling and terminology 2015-12-31 16:16:10 +00:00
reserve Bug 13517 - Show waiting date on reserve/request.pl 2015-12-30 16:42:42 -07:00
reviews
rotating_collections Bug 15061: Can't add item to rotating collection 2015-11-04 10:44:33 -03:00
serials Bug 14969: Remove C4::Dates from serials/*.pl files 2015-11-17 15:35:57 -03:00
services
sms
suggestion Bug 9468: use new SUGGEST_FORMAT list 2015-11-05 10:46:57 -03:00
tags
test Bug 14321: Final cleanup, removing obsolete files 2015-09-25 12:02:52 -03:00
tools Bug 15381: Remove getauthtypes and getauthtype 2015-12-31 18:59:02 +00:00
virtualshelves Bug 15208: Followup to reorder words 2015-11-19 13:03:27 -03:00
about.tt Bug 7143: Add link to www.openhub.net profile for Marc Veron 2015-12-30 16:55:23 -07:00
auth.tt Bug 11559: Supporting changes for Rancor 2015-10-27 12:16:05 -03:00
intranet-main.tt Bug 12428: QA Follow-up: Wrap borrower's title in a span to make it possible to hide 2015-10-27 16:26:42 -03:00