From fe254c46d34d11173925beb63126210aa561fc29 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 13 Apr 2017 09:55:15 -0400 Subject: [PATCH] Bug 18429 - Receiving an item should update the datelastseen MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To test: 0 - Ensure AcqCreateItem is set to 'placing an order' 1 - Order some items, note entrydate and datelastseen match 2 - Alter those dates to be earlier than today (or wait some days) 3 - Recieve the item and note datelast seen not updated 4 - Apply patch 5 - Repeat 1-3 6 - Date last seen should be updated. Followed test plan, works as expected. Signed-off-by: Marc Véron Works as expected. Signed-off-by: Christopher Brannon Signed-off-by: Marcel de Rooy Signed-off-by: Mason James (cherry picked from commit f5558529ff52baeecda4b6ca293d73ee6982dffe) Signed-off-by: Julian Maurice --- acqui/finishreceive.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/acqui/finishreceive.pl b/acqui/finishreceive.pl index 89e742523c..e1ca50aa1d 100755 --- a/acqui/finishreceive.pl +++ b/acqui/finishreceive.pl @@ -163,6 +163,7 @@ ModItem( { booksellerid => $booksellerid, dateaccessioned => $datereceived, + datelastseen => $datereceived, price => $unitprice, replacementprice => $rrp, replacementpricedate => $datereceived, -- 2.39.5