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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-1 / +1 lines)
Lines 187-193 Link Here
187
                            <select id="items_bundle" name="items_bundle">
187
                            <select id="items_bundle" name="items_bundle">
188
                                <option value=""></option>
188
                                <option value=""></option>
189
                                [% FOREACH items_bundle IN items_bundles %]
189
                                [% FOREACH items_bundle IN items_bundles %]
190
                                    <option value="[% items_bundle.items_bundle_id | html %]">[% items_bundle.biblionumber.title | html %]</option>
190
                                    <option value="[% items_bundle.host | html %]">[% items_bundle.host_item.title | html %]</option>
191
                                [% END %]
191
                                [% END %]
192
                            </select>
192
                            </select>
193
                        </li>
193
                        </li>
(-)a/tools/inventory.pl (-10 / +4 lines)
Lines 71-85 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
71
    }
71
    }
72
);
72
);
73
73
74
my $schema          = Koha::Database->new()->schema();
74
my @items_bundles = Koha::Item::Bundles->search(
75
my $items_bundle_rs = $schema->resultset('ItemsBundle');
75
    {},
76
my @items_bundles   = $items_bundle_rs->search(
76
    { group_by => ['host'], columns => ['host'] }
77
    undef,
77
)->as_list;
78
    {
79
        order_by => { -asc => ['biblionumber.title'] },
80
        join     => ['biblionumber'],
81
    }
82
);
83
my @authorised_value_list;
78
my @authorised_value_list;
84
my $authorisedvalue_categories = '';
79
my $authorisedvalue_categories = '';
85
80
86
- 

Return to bug 29099