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

Kyle M Hall <[email protected]> changed:

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

--- Comment #8 from Kyle M Hall <[email protected]> ---
Created attachment 15061
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=15061&action=edit
Bug 9322 - 'Resolve' previous open transfer when adding a new transfer for a
given item

This patch prevents multiple unresolved item transfers for
a given item to exist at the same time. If an item has an
open transfer and is subject to a second open transfer, the
previous open transfer will be given a datearrived time of
'0000-00-00 00:00:00' to indicate the transfer was resolved
but never completed.

Test Plan:
 1) Get an item's barcode
 2) Go to circulation -> transfers
 3) Select a branch to transfer to
 4) Put in your barcode
 5) Submit the transfer
 6) Examine the branchtransfers table, note that
    there is now one open transfer for the item
 7) Select a different branch to transfer to
 8) Put your same barcode in again
 9) Submit the transfer
10) Reexamine the branchtransfers table, note that
    the previous open transfer now has a datearrived
    value of '0000-00-00 00:00:00' and the new transfer
    is the only transfer for this item with a datearrived
    value of NULL

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to