[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-968-gd46657f

Git repo owner gitmaster at git.koha-community.org
Tue Aug 20 17:24:40 CEST 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  d46657f8af980524a4351e40abe0b901d1af3e6a (commit)
      from  7ae3ea68579b3f870d7e42968c3727ecffac7f02 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d46657f8af980524a4351e40abe0b901d1af3e6a
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date:   Tue Jul 23 08:05:22 2013 -0400

    Bug 10628: make sure AutomaticItemReturn doesn't prevent holds queue from filling local holds with local items
    
    For some reason, C4::HoldsQueue::MapItemsToHoldRequests used the system
    preference AutomaticItemReturn to decide if an attempt to fill local
    holds with local items. No explanation of this behavior is provided.
    
    This patch removes this behavior, and also adjusts the calculation
    of the lead-cost library to always return the pickup library if it
    is on the list of libraries that could fill the hold -- on the
    basis that if the item is already at the pickup library, its
    transport cost is inherently zero.
    
    Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Passes QA script and adds unit tests.
    Tested with some examples and those worked correctly.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 C4/HoldsQueue.pm            |   13 ++++++++-----
 t/db_dependent/HoldsQueue.t |   12 ++++++++----
 2 files changed, 16 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list