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

(-)a/Koha/Item.pm (+12 lines)
Lines 2507-2512 sub strings_map { Link Here
2507
                ( $type eq 'av' ? ( category => $code ) : () ),
2507
                ( $type eq 'av' ? ( category => $code ) : () ),
2508
            };
2508
            };
2509
        }
2509
        }
2510
2511
        if ( $col eq 'booksellerid' ) {
2512
            my $booksellerid = $self->booksellerid;
2513
            if ($booksellerid) {
2514
                my $bookseller = Koha::Acquisition::Booksellers->find( $booksellerid );
2515
2516
                $strings->{$col} = {
2517
                    str => $bookseller->name,
2518
                    type => 'acquisition_source'
2519
                } if $bookseller;
2520
            }
2521
        }
2510
    }
2522
    }
2511
2523
2512
    return $strings;
2524
    return $strings;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers/tables/items/catalogue_detail.inc (-2 / +1 lines)
Lines 613-619 Link Here
613
                searchable: true,
613
                searchable: true,
614
                orderable: true,
614
                orderable: true,
615
                render: function (data, type, row, meta) {
615
                render: function (data, type, row, meta) {
616
                    return escape_str(row.acquisition_source);
616
                    return escape_str(row._strings.acquisition_source ? row._strings.acquisition_source.str : row.acquisition_source);
617
                }
617
                }
618
            },
618
            },
619
            {
619
            {
620
- 

Return to bug 36182