[koha-commits] main Koha release repository branch master updated. v3.22.00-820-g6f25627
Git repo owner
gitmaster at git.koha-community.org
Mon Mar 7 18:50:33 CET 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 6f25627519a080d90068719a010ed228372a6060 (commit)
via 0ce8a0fda7327dc2890309d9a85613f2044597a3 (commit)
via 28adcf3febce7e9bb0c8ffc55b3ece1d207d6b8a (commit)
via 15947a7565c3f4ed874ce04add8a909270e9ce87 (commit)
via 417f7c54e1a6ec56878008df6dacba60dd89aa9a (commit)
via f2dd831542c9b4787c08ace90511ffcf263f1355 (commit)
from b951f158cbda394402ebf3179f6c8b1278e899ea (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6f25627519a080d90068719a010ed228372a6060
Author: Brendan A Gallagher <brendan at bywatersolutions.com>
Date: Mon Mar 7 17:56:24 2016 +0000
DBREV Bug 14694 - Make decreaseloanHighHolds more flexible
commit 0ce8a0fda7327dc2890309d9a85613f2044597a3
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Tue Jan 19 13:30:56 2016 +0000
Bug 14694: Create data the tests need
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit 28adcf3febce7e9bb0c8ffc55b3ece1d207d6b8a
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Sun Oct 25 08:02:10 2015 -0400
Bug 14694 [QA Followup] - Fix syspref order
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit 15947a7565c3f4ed874ce04add8a909270e9ce87
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Thu Oct 22 09:28:38 2015 -0400
Bug 14694 [QA Followup] - Fix typos
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit 417f7c54e1a6ec56878008df6dacba60dd89aa9a
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Thu Oct 22 08:12:10 2015 -0400
Bug 14694 [QA Followup] - Fix unit tests
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
commit f2dd831542c9b4787c08ace90511ffcf263f1355
Author: Kyle M Hall <kyle at bywatersolutions.com>
Date: Tue Sep 29 13:24:29 2015 -0400
Bug 14694 - Make decreaseloanHighHolds more flexible
This patch allows for more flexibility for determining when the number
of holds a record has should trigger the reduction of the loan length
for items on that record.
This patch adds a new system preference decreaseLoanHighHoldsControl,
which defaults to 'static', the original behavior of the feature.
It also has a new behavior 'dynamic' which makes the feature only
decrease the loan length if the number of holds on the record exceeds
the number of holdable items + decreaseLoanHighHoldsValue.
It also allows items to be filtered from the list of items based
on the damaged, lost, not for loan, and withdrawn values even if
those values would have allowed holds ( i.e. values < 0 )
Test Plan:
1) Apply this patch
2) Run updatedatabase.pl
3) Set decreaseLoanHighHolds to Enable
4) Set decreaseLoanHighHoldsControl to "over the number of items on the record"
5) Set decreaseLoanHighHoldsDuration to 1
6) Set decreaseLoanHighHoldsValue to 3
7) Create a record with 5 items
8) Please 8 or more holds on the record
9) Check out one of the items to a patron
10) Note the loan length is reduced to 1 day
11) Set decreaseLoanHighHoldsValue to 3 to 2
12) Check out one of the items to a patron
13) Note the loan length is *not* reduced
14) Enbale all the filters possible in decreaseLoanHighHoldsIgnoreStatuses
15) Set one item to be damaged
16) Note the loan length is reduced
17) Unset the damaged status
18) Repeat steps 15 - 17 for lost, not for loan, and withdrawn
Signed-off-by: Christopher Brannon <cbrannon at cdalibrary.org>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Circulation.pm | 96 +++++++++---
Koha.pm | 2 +-
Koha/Biblio.pm | 14 ++
installer/data/mysql/sysprefs.sql | 2 +
installer/data/mysql/updatedatabase.pl | 9 ++
.../en/modules/admin/preferences/circulation.pref | 13 +-
t/db_dependent/DecreaseLoanHighHolds.t | 164 ++++++++++++++++++++
7 files changed, 273 insertions(+), 27 deletions(-)
create mode 100755 t/db_dependent/DecreaseLoanHighHolds.t
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list