Koha/t/db_dependent/Circulation
Andrew Isherwood 6e311a1be1 Bug 24083: (follow-up) Squashed follow ups
This squashed commit fixes:
-  a small error in the checkouts related JS

- GetRenewCount now returns 6 values when a call to it succeeds, a
failed call should also return the same number of values. This commit
adds these additional values.

- Some changes in issue.t had broken the tests for unseen renewals (the
unseen tests were using variables that had been moved out of the tests'
scope).

- Also now using Koha::CirculationRules::set_rules to set circ rules
rather than using SQL queries.

- Fixed expected number of return values from GetRenewCount

- Moved unseen tests in issue.t to the bottom of the file to remove the
risk of interference with other test circ rules.

- There was a real mess in C4/Circulation.pm due to a bad rebase back in
February. Frankly it's a wonder anything worked at all. This commit
fixes that problem and reinstates the correct patch for
C4/Circulation.pm

- Somehow I'd never noticed this before but the columns in smart-rules.tt
were misaligned when UnseenRenewals was turned off. This was due to the
display of a <td> not being conditional when it should have been. This
is now fixed.

- This commit also fixes items 1 & 2 descibed by Katrin in comment #74 ->
comment #76.

- Fixed missing check for too_unseen in opac-user.tt, this test did used
to exist but got lost during sizeable rebase a few weeks ago :-(
- Added test for too_unseen to all AUTO_RENEWAL notice templates apart
from de-DE (as previously requested by Katrin)

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-11-11 16:09:58 +01:00
..
IssuingRules Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Branch.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CalcDateDue.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CalcFine.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
CheckIfIssuedToPatron.t Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
CheckValidBarcode.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
dateexpiry.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
GetHardDueDate.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
GetPendingOnSiteCheckouts.t Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
GetTopIssues.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
IsItemIssued.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
issue.t Bug 24083: (follow-up) Squashed follow ups 2020-11-11 16:09:58 +01:00
MarkIssueReturned.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
NoIssuesChargeGuarantees.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
OfflineOperation.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
ReturnClaims.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
Returns.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
StoreLastBorrower.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
SwitchOnSiteCheckouts.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
TooMany.t Bug 26132: (follow-up) Add test to show errors in max issues amount calculation 2020-11-04 17:32:35 +01:00
transferbook.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
transfers.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00