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

(-)a/circ/batch_holding.pl (-2 / +2 lines)
Lines 66-72 if ($op) { Link Here
66
    }
66
    }
67
}
67
}
68
68
69
if ($op eq "show"){
69
if ($op eq "cud-show"){
70
    my $filefh = $input->upload('uploadfile');
70
    my $filefh = $input->upload('uploadfile');
71
    my $filecontent = $input->param('filecontent');
71
    my $filecontent = $input->param('filecontent');
72
    my $branch = $input->param('branch');
72
    my $branch = $input->param('branch');
Lines 131-137 if ($op eq "show"){ Link Here
131
    );
131
    );
132
}
132
}
133
133
134
elsif ($op eq "result") {
134
elsif ($op eq "cud-result") {
135
    my $branch = $input->param('branch');
135
    my $branch = $input->param('branch');
136
    my $action = $input->param('action');
136
    my $action = $input->param('action');
137
    my @itemnumbers = $input->multi_param('holdable');
137
    my @itemnumbers = $input->multi_param('holdable');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/batch_holding.tt (-3 / +4 lines)
Lines 46-51 Link Here
46
  [% IF (holdloop) %]
46
  [% IF (holdloop) %]
47
    <h1>[% action %] holds on the following barcodes</h1>
47
    <h1>[% action %] holds on the following barcodes</h1>
48
    <form action="batch_holding.pl" method="POST">
48
    <form action="batch_holding.pl" method="POST">
49
    [% INCLUDE 'csrf-token.inc' %]
49
    <ul>
50
    <ul>
50
    [% FOREACH hold IN holdloop %]
51
    [% FOREACH hold IN holdloop %]
51
        <li>
52
        <li>
Lines 58-64 Link Here
58
        </li>
59
        </li>
59
    [% END %]
60
    [% END %]
60
    </ul>
61
    </ul>
61
    <input type="hidden" name="op" value="result" />
62
    <input type="hidden" name="op" value="cud-result" />
62
    <input type="hidden" name="action" value="[% action %]" />
63
    <input type="hidden" name="action" value="[% action %]" />
63
    <input type="hidden" name="branch" value="[% branch %]" />
64
    <input type="hidden" name="branch" value="[% branch %]" />
64
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
65
    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
Lines 97-102 Link Here
97
[% ELSE %]
98
[% ELSE %]
98
            <h1>Batch holding</h1>
99
            <h1>Batch holding</h1>
99
            <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/batch_holding.pl" id="batchholdform">
100
            <form method="post" enctype="multipart/form-data" action="/cgi-bin/koha/circ/batch_holding.pl" id="batchholdform">
101
		[% INCLUDE 'csrf-token.inc' %]
100
                <fieldset class="rows">
102
                <fieldset class="rows">
101
                    <legend>Use a barcode file</legend>
103
                    <legend>Use a barcode file</legend>
102
                    <ol>
104
                    <ol>
Lines 146-152 Link Here
146
                        </li>
148
                        </li>
147
                    </ol>
149
                    </ol>
148
                </fieldset>
150
                </fieldset>
149
                <input type="hidden" name="op" value="show" />
151
                <input type="hidden" name="op" value="cud-show" />
150
                <input type="submit" value="Continue" class="button" />
152
                <input type="submit" value="Continue" class="button" />
151
            </form>
153
            </form>
152
[% END %]
154
[% END %]
153
- 

Return to bug 23258