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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +1 lines)
Lines 1018-1024 Link Here
1018
                                    </textarea>
1018
                                    </textarea>
1019
                                </form>
1019
                                </form>
1020
1020
1021
                                <form method="POST" action="/cgi-bin/koha/tools/batch_modify_holds.pl" id="batch_modify_holds">
1021
                                <form method="get" action="/cgi-bin/koha/tools/batch_modify_holds.pl" id="batch_modify_holds">
1022
                                    <input type="hidden" name="op" value="list" />
1022
                                    <input type="hidden" name="op" value="list" />
1023
                                    [% FOREACH result IN results %]
1023
                                    [% FOREACH result IN results %]
1024
                                        [% FOREACH cells IN result.cells %]
1024
                                        [% FOREACH cells IN result.cells %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_modify_holds.tt (-3 / +4 lines)
Lines 42-48 Link Here
42
                    <h1>Batch modify holds</h1>
42
                    <h1>Batch modify holds</h1>
43
43
44
                    [% IF view == 'form' %]
44
                    [% IF view == 'form' %]
45
                        <form method="post" action="/cgi-bin/koha/tools/batch_modify_holds.pl" id="modify_holds_form">
45
                        <form method="get" action="/cgi-bin/koha/tools/batch_modify_holds.pl" id="modify_holds_form">
46
                            <fieldset class="rows">
46
                            <fieldset class="rows">
47
                                <legend>Hold search criteria:</legend>
47
                                <legend>Hold search criteria:</legend>
48
                                <span class="hint">NOTE! Column patron_expiration_date is used as a main filter for expiration date field. Otherwise column expirationdate is used.</span>
48
                                <span class="hint">NOTE! Column patron_expiration_date is used as a main filter for expiration date field. Otherwise column expirationdate is used.</span>
Lines 106-111 Link Here
106
                        </form> <!-- /#modify_holds_form -->
106
                        </form> <!-- /#modify_holds_form -->
107
                    [% ELSIF view == 'list' %]
107
                    [% ELSIF view == 'list' %]
108
                        <form action="/cgi-bin/koha/tools/batch_modify_holds.pl" method="post" id="process">
108
                        <form action="/cgi-bin/koha/tools/batch_modify_holds.pl" method="post" id="process">
109
                            [% INCLUDE 'csrf-token.inc' %]
109
                        [% IF holds.count %]
110
                        [% IF holds.count %]
110
                            <div class="page-section">
111
                            <div class="page-section">
111
                                <div class="btn-toolbar selections-toolbar">
112
                                <div class="btn-toolbar selections-toolbar">
Lines 189-195 Link Here
189
                                </tbody>
190
                                </tbody>
190
                            </table> <!-- /#hold_modifies -->
191
                            </table> <!-- /#hold_modifies -->
191
                            <fieldset class="action">
192
                            <fieldset class="action">
192
                                <input type="hidden" name="op" value="modify"/>
193
                                <input type="hidden" name="op" value="cud-modify"/>
193
                                <input type="submit" class="btn btn-primary" value="Modify selected holds"/>
194
                                <input type="submit" class="btn btn-primary" value="Modify selected holds"/>
194
                                <a class="cancel" href="/cgi-bin/koha/tools/batch_modify_holds.pl">Cancel</a>
195
                                <a class="cancel" href="/cgi-bin/koha/tools/batch_modify_holds.pl">Cancel</a>
195
                            </fieldset>
196
                            </fieldset>
Lines 310-313 Link Here
310
    </script>
311
    </script>
311
[% END %]
312
[% END %]
312
313
313
[% INCLUDE 'intranet-bottom.inc' %]
314
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/tools/batch_modify_holds.pl (-2 / +1 lines)
Lines 124-130 elsif ( $op eq 'list' ) { Link Here
124
    );
124
    );
125
}
125
}
126
126
127
if ( $op eq 'modify' ) {
127
if ( $op eq 'cud-modify' ) {
128
128
129
    my $new_expiration_date = $input->param('new_expiration_date');
129
    my $new_expiration_date = $input->param('new_expiration_date');
130
    my $new_pickup_loc      = $input->param('new_pickup_loc');
130
    my $new_pickup_loc      = $input->param('new_pickup_loc');
131
- 

Return to bug 36135