]> git.koha-community.org Git - koha.git/commit
Bug 12178: Update serial status to "claimed" when exporting to CSV
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 28 Apr 2015 15:00:44 +0000 (17:00 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jul 2016 14:07:40 +0000 (14:07 +0000)
commitb416ac16b5c67d902444041882c31a99e0525fa0
treeb656ce4a0b96cab76eaaf5c958e85d404378d5db
parent199c00c7ba4edb78bcf0d022cfedc4e891316071
Bug 12178: Update serial status to "claimed" when exporting to CSV

On the same way as late issues, the serial status should be updated to
'claimed' when the issues as exported as csv.

QA note: The updateClaim and UpdateClaimdateIssues subroutine did almost the
same thing, I kick the second on off to centralize the code.

Test plan:
1/ Export some late issues as CSV (serials/claims.pl).
2/ Refresh the page (the export does not do it) and confirm that the
status, the claim date and the claim count have been updated.
3/ Select some others issues, select a notice and send the notification.
Confirm that the behavior is the same.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Serials.pm
serials/claims.pl
t/db_dependent/Serials.t
t/db_dependent/Serials/Claims.t