[koha-commits] main Koha release repository branch master updated. v16.11.00-572-gf79cf79

Git repo owner gitmaster at git.koha-community.org
Thu Mar 23 09:57:17 CET 2017


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  f79cf7930d887ea157fa64bb89fb0eb130b74aae (commit)
      from  a649958315c98500ebe0ea3f91c05a8067d54e58 (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 f79cf7930d887ea157fa64bb89fb0eb130b74aae
Author: Nicolas Legrand <nicolas.legrand at bulac.fr>
Date:   Wed Feb 22 10:11:18 2017 +0100

    Bug 18150 - CanItemBeReserved doesn't work with (IndependentBranches AND ! canreservefromotherbranches)
    
    The variable $item used to be a hash, but at the end of the function,
    it's a Koha object. As $item->{homebranch} doesn't yield anything and
    should be $item->homebranch. It prevents people using different
    branches without holds between branches from placing a hold on an item
    they should be able to place hold on.
    
    Test plan:
    
    1. Before patch
    
      a. with IndependantBranches off
      b. try to place hold on an item you should be able to place hold on
      c. it should work
      d. put IndependantBranches on and canreservefromotherbranches off
      e. shouldn't work
    
    2. after patches redo steps from (1) and everything should be working
    fine.
    
    Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    Note: Item is fetched twice, it's not necessary. But out of the scope of
    this patch.
    
    Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>

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

Summary of changes:
 C4/Reserves.pm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list