Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Matthias Meusburger 5a31f88d52 Bug 26937: Add an optional delay to the CheckPrevCheckout syspref.
The CheckPrevCheckout allows to check a borrower's checkout history to see if
the current item has been checked out before.

This patch adds an optional syspref: CheckPrevCheckoutDelay

It allows to specify the maximum number of days since the last checkin
that will trigger CheckPrevCheckout's warning.

Test plan:

 - Apply the patch.

 - Set CheckPrevCheckout to "Do" and CheckPrevCheckoutDelay to n.

 - Checkout and check-in an item for a patron.

 - Try to checkout the same item.

 - Check that you have a warning:
   "Patron has previously checked out this title: Check out anyway?"

 - Update the returndate column from the old_issues table to have a returndate
   older than n days ago.

 - Try to checkout the same item.

 - Check that you don't have the warning.

 - Prove t/db_dependent/Patron/Borrower_PrevCheckout.t

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-03-01 15:14:22 +01:00
..
acqui Bug 25777: Disable misleading datatables table information display z3950 2021-03-01 11:28:03 +01:00
admin Bug 26937: Add an optional delay to the CheckPrevCheckout syspref. 2021-03-01 15:14:22 +01:00
authorities Bug 27471: Change auth merge success link text and don't redirect 2021-01-27 10:45:54 +01:00
basket Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
batch
catalogue Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
cataloguing Bug 25777: Disable misleading datatables table information display z3950 2021-03-01 11:28:03 +01:00
circ Bug 27706: (bug 24488 follow-up) Fix libraries column filter 2021-02-16 10:22:13 +01:00
clubs Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
common Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
course_reserves Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
errors
ill Bug 25614: Move ILL request keyword filter to sidebar 2021-01-27 10:45:54 +01:00
installer
labels Bug 27404: update labels/label-edit-range.tt for ACC2 2021-02-08 16:12:42 +01:00
mana
members Bug 27605: (follow-up) Make the feature work with Bug 27403 2021-02-09 09:23:55 +01:00
offline_circ Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00
onboarding
patron_lists Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
patroncards Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
plugins Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
pos Bug 26274: Update register.tt to use the API 2021-02-12 12:33:41 +01:00
reports Bug 27380: Add 'list' option to Koha report parameters 2021-02-12 12:22:08 +01:00
reserve Bug 27071: (follow-up) Provide a more meaningful error message 2021-03-01 09:56:19 +01:00
reviews
rotating_collections Bug 23852: Merge biblio-title.inc and biblio-default-view.inc 2020-10-08 15:01:29 +02:00
serials Bug 27332: Hide branchcode and note is RenewSerialAddsSuggestion if off 2021-02-23 13:16:07 +01:00
services
suggestion Bug 27608: Corrects 'accepted by' inconsistency in suggestion.tt 2021-02-08 14:56:00 +01:00
tags Bug 26602: Don't export "actions" column 2021-02-08 14:56:00 +01:00
test
tools Bug 27694: use HTML filtering on News Tool textarea 2021-02-18 11:53:18 +01:00
virtualshelves Bug 27605: Add floating toolbar to patron search page 2021-02-09 09:23:55 +01:00
about.tt Bug 27661: Use td.bg-success for ES and memcached as well 2021-02-23 13:16:07 +01:00
auth.tt Bug 18506: (QA follow-up) Indentation and more conditionals 2021-02-09 09:48:35 +01:00
intranet-main.tt Bug 27561: Remove type attribute from script tags: Various templates 2021-02-01 16:36:38 +01:00