https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18150

Christopher Brannon <cbran...@cdalibrary.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60853|0                           |1
        is obsolete|                            |

--- Comment #4 from Christopher Brannon <cbran...@cdalibrary.org> ---
Created attachment 60854
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60854&action=edit
[SIGNED OFF] 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
  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 <cbran...@cdalibrary.org>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to