[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
Thu Jun 7 05:05:25 CEST 2018


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

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

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

--- Comment #7 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 75861
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75861&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