View | Details | Raw Unified | Return to bug 5342
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt (-2 / +4 lines)
Lines 31-37 Link Here
31
            $("#claimst tr:visible :checkbox").attr('checked', $("#CheckAll").is(':checked'));
31
            $("#claimst tr:visible :checkbox").attr('checked', $("#CheckAll").is(':checked'));
32
        });
32
        });
33
33
34
	    // Generates a dynamic link for exporting the selections data as CSV
34
        // Generates a dynamic link for exporting the selections data as CSV
35
	    $("#ExportSelected").click(function() {
35
	    $("#ExportSelected").click(function() {
36
               // We need to use "input[name=serialid]:checked" instead of "input:checked". Otherwise, the "check all" box will pass the value of "on" as a serialid, which produces a SQL error.
36
               // We need to use "input[name=serialid]:checked" instead of "input:checked". Otherwise, the "check all" box will pass the value of "on" as a serialid, which produces a SQL error.
37
             var selected = $("input[name=serialid]:checked");
37
             var selected = $("input[name=serialid]:checked");
Lines 64-70 Link Here
64
	// Checks if the form can be sent (at least one checkbox must be checked)
64
	// Checks if the form can be sent (at least one checkbox must be checked)
65
	function checkForm() {
65
	function checkForm() {
66
	    if ($("input:checked").length == 0) {
66
	    if ($("input:checked").length == 0) {
67
		alert(_("Please select at least one item."));
67
        alert(_("Please select at least one issue."));
68
		return false;
68
		return false;
69
	    }
69
	    }
70
	}
70
	}
Lines 275-280 Link Here
275
                        <th>Vendor</th>
275
                        <th>Vendor</th>
276
                        <th>Library</th>
276
                        <th>Library</th>
277
                        <th class="anti-the">Title</th>
277
                        <th class="anti-the">Title</th>
278
                        <th>ISSN</th>
278
                        <th>Issue number</th>
279
                        <th>Issue number</th>
279
                        <th>Status</th>
280
                        <th>Status</th>
280
                        <th class="title-string">Since</th>
281
                        <th class="title-string">Since</th>
Lines 294-299 Link Here
294
                        <td>
295
                        <td>
295
                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid %]">[% missingissue.title |html %]</a>
296
                        <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% missingissue.subscriptionid %]">[% missingissue.title |html %]</a>
296
                        </td>
297
                        </td>
298
                        <td>[% missingissue.issn %]</td>
297
                        <td>[% missingissue.serialseq %]</td>
299
                        <td>[% missingissue.serialseq %]</td>
298
                        <td>
300
                        <td>
299
                            [% IF ( missingissue.status1 ) %]<span class="status-expected">Expected</span>[% END %]
301
                            [% IF ( missingissue.status1 ) %]<span class="status-expected">Expected</span>[% END %]
(-)a/t/db_dependent/Serials/Claims.t (-1 / +2 lines)
Lines 11-16 my $dbh = C4::Context->dbh; Link Here
11
$dbh->{AutoCommit} = 0;
11
$dbh->{AutoCommit} = 0;
12
$dbh->{RaiseError} = 1;
12
$dbh->{RaiseError} = 1;
13
13
14
$dbh->do(q|DELETE FROM issues|);
15
14
my $branchcode = 'CPL';
16
my $branchcode = 'CPL';
15
my $bpid = AddBudgetPeriod({
17
my $bpid = AddBudgetPeriod({
16
    budget_period_startdate   => '2015-01-01',
18
    budget_period_startdate   => '2015-01-01',
17
- 

Return to bug 5342