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

(-)a/Koha/Item.pm (+12 lines)
Lines 2576-2581 sub strings_map { Link Here
2576
                ( $type eq 'av' ? ( category => $code ) : () ),
2576
                ( $type eq 'av' ? ( category => $code ) : () ),
2577
            };
2577
            };
2578
        }
2578
        }
2579
2580
        if ( $col eq 'booksellerid' ) {
2581
            my $booksellerid = $self->booksellerid;
2582
            if ($booksellerid) {
2583
                my $bookseller = Koha::Acquisition::Booksellers->find( $booksellerid );
2584
2585
                $strings->{$col} = {
2586
                    str => $bookseller->name,
2587
                    type => 'acquisition_source'
2588
                } if $bookseller;
2589
            }
2590
        }
2579
    }
2591
    }
2580
2592
2581
    return $strings;
2593
    return $strings;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-2 / +1 lines)
Lines 633-639 Link Here
633
                searchable: true,
633
                searchable: true,
634
                orderable: true,
634
                orderable: true,
635
                render: function (data, type, row, meta) {
635
                render: function (data, type, row, meta) {
636
                    return escape_str(row.acquisition_source);
636
                    return escape_str(row._strings.acquisition_source ? row._strings.acquisition_source.str : row.acquisition_source);
637
                }
637
                }
638
            },
638
            },
639
            {
639
            {
640
- 

Return to bug 36182