Main Koha release repository https://koha-community.org
Find a file
Tomas Cohen Arazi f59a34a9ca
Bug 13958: Use SuspensionsCalendar syspref for more granularity
This patch makes the calculation of suspension expiration configuration
detached from the finesCalendar syspref. This way libraries have more
flexibility when setting circ rules.

I wrote this path as a bugfix, because the recent change pushed by bug 19204
changed this behavior and libraries have been complaining since they got
upgraded.

It is a minor change, just adding the new syspref, and replacing the
single place in which it is used for debarment calculation for the new
one.

The tests are updated similarly, just adding the new mocked syspref as
it was with the old one.

To test:
- Apply this patches
- updatedatabase
- Run:
  $ kshell
 k$ prove t/db_dependent/Circulation.t
=> SUCCESS: Tests pass!
- Sign off :-D

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-11-07 09:12:15 +00:00
acqui Bug 11514: Untranslatable "Uncertain" text in acq 2019-11-06 16:54:42 +00:00
admin Bug 23075: Do not 'Send' if the url is not correct 2019-11-06 17:05:18 +00:00
api/v1 Bug 23859: Make POST add the Location header on cities endpoint 2019-11-01 08:48:18 +00:00
authorities
basket
C4 Bug 13958: Use SuspensionsCalendar syspref for more granularity 2019-11-07 09:12:15 +00:00
catalogue Bug 23050: (RM follow-up) Add Try::Tiny to controller 2019-11-05 13:53:06 +00:00
cataloguing
circ Bug 20194: Display both biblioitems.itemtype and items.itype in circulation screens 2019-11-03 07:50:19 +00:00
clubs
course_reserves Bug 21003: Removed warning and changed wording on add_items-step2.tt 2019-03-23 09:51:36 +00:00
debian Bug 17084: Automatic debian/control updates 2019-11-01 06:19:24 +00:00
docs Update docs/teams.yaml for 19.11.x development cycle 2019-10-22 15:15:33 +01:00
errors
etc Bug 23068: Add ability for Koha to handle X-Forwarded-For headers so REMOTE_ADDR features work behind a proxy 2019-10-31 16:10:17 +00:00
ill
installer Bug 13958: Add SuspensionsCalendar syspref 2019-11-07 09:11:58 +00:00
Koha Bug 23719: (follow-up) Add warn when passed invalid search field in marclist 2019-11-06 17:06:38 +00:00
koha-tmpl Bug 13958: Add SuspensionsCalendar syspref 2019-11-07 09:11:58 +00:00
labels
members Bug 14697: Enhance the return claims feature 2019-10-31 12:04:21 +00:00
misc Bug 23903: Replace OPAC icons with Font Awesome 2019-10-31 15:40:25 +00:00
offline_circ Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
opac Bug 23467: Exit after output_html - opac-reserve.pl 2019-11-06 17:08:52 +00:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 23805: (QA follow-up) Corrections for cash_register_stats 2019-10-31 17:49:54 +00:00
reserve Bug 22922: Use jQuery datepicker instead of <input type="date"> 2019-10-21 10:01:01 +01:00
reviews
rotating_collections
serials Bug 23435: Add multiple copies of an item when receiving in serials 2019-10-17 14:59:40 +01:00
services
skel
suggestion Bug 18743: Fix suggestion listing when organized by library 2019-10-25 13:16:29 +01:00
svc Bug 20194: Display both biblioitems.itemtype and items.itype in circulation screens 2019-11-03 07:50:19 +00:00
t Bug 13958: Use SuspensionsCalendar syspref for more granularity 2019-11-07 09:12:15 +00:00
tags
tmp/modified_authorities
tools Bug 23762: Editing is_html status of email template fails under multi-languages 2019-11-03 07:34:52 +00:00
virtualshelves
xt
.editorconfig
.eslintrc.json Bug 23834: Add default ESLint configuration 2019-11-03 08:02:39 +00:00
.gitignore Bug 20427: Convert OPAC LESS to SCSS 2018-08-09 15:17:07 +00:00
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 23655: Restore debian Jessie support 2019-10-26 12:07:49 +01:00
changelanguage.pl
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 22581: DBRev 19.06.00.048 2019-11-03 08:14:26 +00:00
koha_perl_deps.pl Bug 20019: use Modern::Perl in misc perl scripts 2018-02-05 09:47:08 -03:00
kohaversion.pl
LICENSE
mainpage.pl
Makefile.PL Bug 23834: (RM follow-up) Add new file to Makefile.PL 2019-11-04 10:10:04 +00:00
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL Bug 17851: Add elasticsearch config to koha-conf.xml 2019-10-07 14:09:10 +01:00
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo