[Koha-bugs] [Bug 18185] Clears loan history

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 9 17:59:23 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18185

--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I think you face the same problem as bug 18003, but for issues.

To confirm it, try:
1. Issue an item for a patron, note the itemnumber of this item
2. Get the issue id of this issue:
  SELECT issue_id FROM issues WHERE itemnumber=ITEMNUMBER;
If you do not know the item number, you can get it from the barcode with:
  SELECT itemnumber FROM items where barcode="BARCODE";

Then check if this issue_id already exists in the old_issues table:
  SELECT COUNT(*) FROM old_issues WHERE issue_id=ISSUE_ID

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


More information about the Koha-bugs mailing list