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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt (-3 / +9 lines)
Lines 423-432 Link Here
423
                        return "<a href=\"/cgi-bin/koha/acqui/basket.pl?basketno=" + row.basket.basket_id + "\">" + data + " (" + row.basket.basket_id + ")</a>";
423
                        return "<a href=\"/cgi-bin/koha/acqui/basket.pl?basketno=" + row.basket.basket_id + "\">" + data + " (" + row.basket.basket_id + ")</a>";
424
                      }
424
                      }
425
                    },
425
                    },
426
                    { "data": "basket.basket_group.name",
426
                    { "data": "basket.basket_group",
427
                      "orderable": true,
427
                      "orderable": true,
428
                      "render": function(data, type, row, meta) {
428
                      "render": function(data, type, row, meta) {
429
                        if ( type != 'display' ) return data;
429
                        if ( type != 'display' ) {
430
                            if ( data == null ) {
431
                                return "";
432
                            }
433
                            else {
434
                                return data.name;
435
                            }
436
                        }
430
                        if ( row.basket.basket_group_id == null ) {
437
                        if ( row.basket.basket_group_id == null ) {
431
                            return _("No basket group");
438
                            return _("No basket group");
432
                        }
439
                        }
433
- 

Return to bug 20212