http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7144

--- Comment #8 from Ian Walls <ian.wa...@bywatersolutions.com> 2011-12-20 
20:04:23 UTC ---
Created attachment 6891
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=6891
Enhancement 7144:  Floating Collections (per branch/itemtype)

Adds support for Floating Collections (i.e. items that don't automatically
return
home when checked in at another branch) on a per branchcode/itemtype basis.

This patch adds a new column (returnbranch) to the default_circ_rules,
default_branch_item_rules,
default_branch_circ_rules and branch_item_rules tables, after the
'holdsallowed' column.  While
this is coded as a varchar(15), the only currently supported values are
'homebranch', 'holdingbranch',
'noreturn' and NULL.

On upgrade, the value of HomeOrHoldingBranchReturn is used to populate the
global default (which is
stored in default_circ_rules.returnbranch).

To access this value, use C4::Circulation::GetBranchItemRule.  This subroutine
is altered to supply
an additional key, "returnbranch", containing this value (or 'homebranch' as a
default).  No existing
usage of GetBranchItemRule should need to be modified.

The use of HomeOrHoldingBranchReturn is removed in AddReturn to instead use
this subroutine.  This will
determine, on a more granular level, where the item should be transferred,
after all is said and done.  If
'noreturn' is specified, then the material will remain at the branch doing the
checking in.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
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