Bugzilla – Attachment 37268 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]
Bug 13915 - Inventory tool no longer hides items with date last seen greater than the inventory date
Bug-13915---Inventory-tool-no-longer-hides-items-w.patch (text/plain), 1.87 KB, created by
Kyle M Hall
on 2015-03-26 12:42:32 UTC
(
hide
)
Description:
Bug 13915 - Inventory tool no longer hides items with date last seen greater than the inventory date
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2015-03-26 12:42:32 UTC
Size:
1.87 KB
patch
obsolete
>From 69af8a8aa6fe3885dd158e2fb423d69bd859ef2c 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] Bug 13915 - Inventory tool no longer hides items with date last seen greater than the inventory date > >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 >--- > tools/inventory.pl | 4 +--- > 1 files changed, 1 insertions(+), 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.2.5
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