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

(-)a/acqui/basket.pl (-7 lines)
Lines 306-318 if ( $op eq 'delete_confirm' ) { Link Here
306
                $basketgroup = $bg;
306
                $basketgroup = $bg;
307
            }
307
            }
308
        }
308
        }
309
        my %emptygroup = ( id   =>   undef,
310
                           name =>   "No group");
311
        if ( ! $basket->{basketgroupid} ) {
312
            $emptygroup{default} = 1;
313
            $emptygroup{nogroup} = 1;
314
        }
315
        unshift( @$basketgroups, \%emptygroup );
316
    }
309
    }
317
310
318
    # if the basket is closed, calculate estimated delivery date
311
    # if the basket is closed, calculate estimated delivery date
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-2 / +2 lines)
Lines 362-368 Link Here
362
                            [%- END -%]
362
                            [%- END -%]
363
                          [% ELSE %]
363
                          [% ELSE %]
364
                            <select id="basketgroupid" name="basketgroupid">
364
                            <select id="basketgroupid" name="basketgroupid">
365
                              <option value="new">Add new group</option>
365
                              <option value="">No group</option>
366
                              [% FOREACH bg IN basketgroups %]
366
                              [% FOREACH bg IN basketgroups %]
367
                                [% IF ( bg.default ) %]
367
                                [% IF ( bg.default ) %]
368
                                    <option value="[% bg.id %]" selected="selected">[% bg.name %]</option>
368
                                    <option value="[% bg.id %]" selected="selected">[% bg.name %]</option>
Lines 374-379 Link Here
374
                                  [% END %]
374
                                  [% END %]
375
                                [% END %]
375
                                [% END %]
376
                              [% END %]
376
                              [% END %]
377
                              <option value="new">Add new group</option>
377
                            </select>
378
                            </select>
378
                            <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
379
                            <input type="hidden" id="basketno" value="[% basketno %]" name="basketno" />
379
                            <input type="hidden" value="mod_basket" name="op" />
380
                            <input type="hidden" value="mod_basket" name="op" />
380
- 

Return to bug 11366