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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/toggle_new_status.tt (-4 / +4 lines)
Lines 155-161 Link Here
155
                        <div class="block">
155
                        <div class="block">
156
                          <select name="condition_field_[% id %]">
156
                          <select name="condition_field_[% id %]">
157
                            <option value="">Choose a field name</option>
157
                            <option value="">Choose a field name</option>
158
                            [% FOR field IN fields %]
158
                            [% FOR field IN condition_fields %]
159
                              [% IF condition.field == field %]
159
                              [% IF condition.field == field %]
160
                                <option value="[% field %]" selected="selected">[% field %]</option>
160
                                <option value="[% field %]" selected="selected">[% field %]</option>
161
                              [% ELSE %]
161
                              [% ELSE %]
Lines 176-182 Link Here
176
                        <div class="block">
176
                        <div class="block">
177
                          <select name="substitution_field_[% id %]">
177
                          <select name="substitution_field_[% id %]">
178
                            <option value="">Choose a field name</option>
178
                            <option value="">Choose a field name</option>
179
                            [% FOR field IN fields %]
179
                            [% FOR field IN substitution_fields %]
180
                              [% IF substitution.field == field %]
180
                              [% IF substitution.field == field %]
181
                                <option value="[% field %]" selected="selected">[% field %]</option>
181
                                <option value="[% field %]" selected="selected">[% field %]</option>
182
                              [% ELSE %]
182
                              [% ELSE %]
Lines 217-223 Link Here
217
              <div class="block">
217
              <div class="block">
218
                <select name="condition_field">
218
                <select name="condition_field">
219
                  <option value="">Choose a field name</option>
219
                  <option value="">Choose a field name</option>
220
                  [% FOR field IN fields %]
220
                  [% FOR field IN condition_fields %]
221
                    <option value="[% field %]">[% field %]</option>
221
                    <option value="[% field %]">[% field %]</option>
222
                  [% END %]
222
                  [% END %]
223
                </select>
223
                </select>
Lines 232-238 Link Here
232
              <div class="block">
232
              <div class="block">
233
                <select name="substitution_field">
233
                <select name="substitution_field">
234
                  <option value="">Choose a field name</option>
234
                  <option value="">Choose a field name</option>
235
                  [% FOR field IN fields %]
235
                  [% FOR field IN substitution_fields %]
236
                    <option value="[% field %]">[% field %]</option>
236
                    <option value="[% field %]">[% field %]</option>
237
                  [% END %]
237
                  [% END %]
238
                </select>
238
                </select>
(-)a/tools/toggle_new_status.pl (-2 / +2 lines)
Lines 111-117 my @biblioitem_fields = map { "biblioitems.$_" } C4::Items::biblioitems_columns; Link Here
111
$template->param(
111
$template->param(
112
    op => $op,
112
    op => $op,
113
    messages => \@messages,
113
    messages => \@messages,
114
    fields => [ @item_fields, @biblioitem_fields ],
114
    condition_fields => [ @item_fields, @biblioitem_fields ],
115
    substitution_fields => \@item_fields,
115
    rules => $rules,
116
    rules => $rules,
116
);
117
);
117
118
118
- 

Return to bug 11023