Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences
Benjamin Rokseth 57608fdecb Bug 7981: Remove HomeOrHoldingBranchReturn syspref
This patch removes HomeOrHoldingBranchReturn syspref and makes circ/returns.pl respect branch
circulation rules from C4::Circulation::GetBranchItemRule. Also transfer slip notice should reflect this.

Default should always be to return item to home branch.

Test plan:
- make sure syspref 'AutomaticItemReturn' is set to 'false'
- unset 'Default checkout, hold and return policy' or set 'Return policy' to 'Item returns home'
- checkout an item and do a checkin from different branch than items homebranch
- verify that you're prompted with a transfer message to item's home branch and that print slip matches

- set 'Return policy' to 'Item returns to issuing library'
- do a checkout and a checkin from branch different than item's home branch
- verify that you're not prompted with a transfer message and that holding library is your current branch

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Follow-up:
- Added 3 tests in t/db_dependent/Circulation_Branches.t to test AddReturn
  policies
- Removed HomeOrHoldingBranchReturn from sysprefs.sql
- Added notice on removing syspref in updatedatabase

QA edits:
- removed trailing whitespace in tests
- moved branchname lookup from returns.pl to template

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-06-11 10:24:22 -03:00
..
acquisitions.pref Bug 12557: DB changes - Add the AcqItemSetSubfieldsWhenReceiptIsCancelled pref 2014-09-09 10:09:58 -03:00
admin.pref Bug 14051: Tiny adjustment of ReturnPathDefault pref description 2015-04-23 12:52:44 -03:00
authorities.pref
cataloguing.pref Bug 13676 - OpacSuppression description says 'items' but means 'records' 2015-03-02 15:25:47 +01:00
circulation.pref Bug 7981: Remove HomeOrHoldingBranchReturn syspref 2015-06-11 10:24:22 -03:00
enhanced_content.pref Bug 14318: iDreamBooks doesn't work when Koha is using https 2015-06-07 18:39:48 -03:00
i18n_l10n.pref Bug 14160: Fix typo in AddressFormat preference 2015-05-14 11:11:14 -03:00
local_use.pref
logs.pref Bug 14024 - add reports to action logs 2015-06-04 10:46:20 -03:00
opac.pref Bug 14314: System Preferences: Better explanation for syspref 'ShowReviewerPhoto' 2015-06-08 10:38:54 -03:00
patrons.pref Bug 8007: (QA followup) wording issue on sysprefs 2015-04-30 12:34:18 -03:00
searching.pref Bug 13528: Use the different isbn variations on search on the isbn index (nb) 2015-04-16 13:44:57 -03:00
serials.pref Bug 9958: Improve RoutingSerials sys pref description 2014-12-28 20:32:37 -03:00
staff_client.pref Bug 12160: Rename intranetuserjs with IntranetUserJS 2015-05-26 10:42:07 -03:00
tools.pref Bug 12190: fold the "Creators" system preference tab into "Tools" 2014-05-23 13:09:51 +00:00
web_services.pref Bug 14124: Add 'Unimarc only' note to IdRef system preference 2015-05-22 09:35:20 -03:00