[Koha-bugs] [Bug 14945] Add the ability to store the last patron to return an item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 8 21:30:08 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14945

Tom Misilo <misilot at fit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45510|0                           |1
        is obsolete|                            |

--- Comment #17 from Tom Misilo <misilot at fit.edu> ---
Created attachment 45511
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45511&action=edit
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 at quecheelibrary.org>

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list