From 0c656fb7da049abb276f7368ec6177879b6dbbdb Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Sep 2014 17:14:00 +0200 Subject: [PATCH] Bug 5342: (qa-followup) FIX some issues this patch: - reintroduces the ISSN column - fix a wording (already there before the main patch) - fix the tests if a serial was already in late --- koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 4 +++- t/db_dependent/Serials/Claims.t | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt index 49b8448..433f51a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -64,7 +64,7 @@ // Checks if the form can be sent (at least one checkbox must be checked) function checkForm() { if ($("input:checked").length == 0) { - alert(_("Please select at least one item.")); + alert(_("Please select at least one issue.")); return false; } } @@ -276,6 +276,7 @@ Library Title Issue number + ISSN Status Since Claims count @@ -294,6 +295,7 @@ [% missingissue.title |html %] + [% missingissue.issn %] [% missingissue.serialseq %] [% IF ( missingissue.status1 ) %]Expected[% END %] diff --git a/t/db_dependent/Serials/Claims.t b/t/db_dependent/Serials/Claims.t index a90563d..60f851a 100644 --- a/t/db_dependent/Serials/Claims.t +++ b/t/db_dependent/Serials/Claims.t @@ -11,6 +11,8 @@ my $dbh = C4::Context->dbh; $dbh->{AutoCommit} = 0; $dbh->{RaiseError} = 1; +$dbh->do(q|DELETE FROM issues|); + my $branchcode = 'CPL'; my $bpid = AddBudgetPeriod({ budget_period_startdate => '2015-01-01', -- 2.1.0