[Koha-bugs] [Bug 14866] Make high holds work with different item types and number of open days

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 21 23:55:14 CEST 2015


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

--- Comment #1 from Eivin Giske Skaaren <eivin at sysmystic.com> ---
Created attachment 42751
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=42751&action=edit
Bug 14866: Make high holds work with different item types

This patch adds the possibility to set decreased loan periods for
high holds items in issuingrules via smart-rules.pl.

If a rule exist with a value set for a high holds item and the
decreaseLoanHighHolds syspref is active then the value of the rule
will be used instead of the syspref value.

To test:

1. Create testbranch, dump mysql as needed..

2. Apply patch

3. Update database
perl installer/data/mysql/updatedatabase.pl
misc/devel/update_dbix_class_files.pl --db_name=koha_instance
--db_user=koha_instance --db_passwd=thepassword

4. Enable decreaseLoanHighHolds sysprefs if not already active

5. Create rule for library/item in
http://your_staff_client/cgi-bin/koha/admin/smart-rules.pl
Set Decrease loan holds to your wanted value.

6. Check out an item with holds and see that the value from the rule is used
instead of the syspref

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list