[Koha-bugs] [Bug 17996] longoverdue.pl should not set 'datereturned' when --mark-returned option is used.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 6 15:21:22 CET 2020


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

Nick Clemens <nick at bywatersolutions.com> changed:

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

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 100272
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100272&action=edit
Bug 17996 - longoverdue.pl should not set 'datereturned' when --mark-returned
option is used

When longoverdue.pl returns items, it sets old_issues.returndate to the
current date. This means that when staff look at the borrowers'
circulation history, they see a returndate displayed, which is
confusing.

We don't lose information by not setting old_issues.returndate, because
items.itemlost_on will contain the date that the item was lost.

Test Plan:
1) Apply this patch
2) Mark an item lost using longoverdue.pl with --mark-returned
3) Note the item's old_issues line does not have a returndate

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


More information about the Koha-bugs mailing list