Bugzilla – Attachment 37333 Details for
Bug 13915
Inventory tool no longer hides items with date last seen greater than the inventory date
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed-off] Bug 13915 - Inventory tool no longer hides items with date last seen greater than the inventory date
Signed-off-Bug-13915---Inventory-tool-no-longer-hi.patch (text/plain), 2.05 KB, created by
Marc Véron
on 2015-03-27 16:35:59 UTC
(
hide
)
Description:
[Signed-off] Bug 13915 - Inventory tool no longer hides items with date last seen greater than the inventory date
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-03-27 16:35:59 UTC
Size:
2.05 KB
patch
obsolete
>From 1ce89da01676df55190f4db9a66958136738db8f Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 26 Mar 2015 08:40:36 -0400 >Subject: [PATCH] [Signed-off] Bug 13915 - Inventory tool no longer hides > items with date last seen greater than the inventory date >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >In previous versions of Koha, selecting an inventory date would filter >out items that had been seen since the "Inventory date". Bug 12631 >changed the inventory tool so that this behavior only occurs when a >barcodes list file is uploaded for comparison. > >Test Plan: >1) Apply this patch >2) Run the inventory tool with no set parameters >3) Mark the first item as seen >4) Rerun the tool with only a date last seen parameter > of yesterday >5) Note the item you marked as seen is no longer on the list > >Followed test plan. Works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > tools/inventory.pl | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/tools/inventory.pl b/tools/inventory.pl >index b8cc31d..8987261 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -232,9 +232,7 @@ if ( $markseen or $op ) { > # retrieve all items in this range. > my $totalrecords; > >- # We use datelastseen only when comparing the results to the barcode file. >- my $paramdatelastseen = ($compareinv2barcd) ? $datelastseen : ''; >- ($inventorylist, $totalrecords) = GetItemsForInventory($minlocation, $maxlocation, $location, $itemtype, $ignoreissued, $paramdatelastseen, $branchcode, $branch, 0, undef, $staton); >+ ($inventorylist, $totalrecords) = GetItemsForInventory($minlocation, $maxlocation, $location, $itemtype, $ignoreissued, $datelastseen, $branchcode, $branch, 0, undef, $staton); > > # For the items that may be marked as "wrong place", we only check the location (callnumbers, location and branch) > ($wrongplacelist, $totalrecords) = GetItemsForInventory($minlocation, $maxlocation, $location, undef, undef, undef, $branchcode, $branch, 0, undef, undef); >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13915
:
37268
| 37333