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 180-186 Link Here
180
                                    <select id="items_bundle" name="items_bundle">
180
                                    <select id="items_bundle" name="items_bundle">
181
                                        <option value=""></option>
181
                                        <option value=""></option>
182
                                        [% FOREACH items_bundle IN items_bundles %]
182
                                        [% FOREACH items_bundle IN items_bundles %]
183
                                            <option value="[% items_bundle.items_bundle_id | html %]">[% items_bundle.biblionumber.title | html %]</option>
183
                                            <option value="[% items_bundle.host | html %]">[% items_bundle.host_item.title | html %]</option>
184
                                        [% END %]
184
                                        [% END %]
185
                                    </select>
185
                                    </select>
186
                                </li>
186
                                </li>
(-)a/tools/inventory.pl (-7 / +4 lines)
Lines 70-81 my ( $template, $borrowernumber, $cookie ) = get_template_and_user( Link Here
70
    }
70
    }
71
);
71
);
72
72
73
my $schema = Koha::Database->new()->schema();
73
my @items_bundles = Koha::Item::Bundles->search(
74
my $items_bundle_rs = $schema->resultset('ItemsBundle');
74
    {},
75
my @items_bundles = $items_bundle_rs->search(undef, {
75
    { group_by => ['host'], columns => ['host'] }
76
    order_by => { -asc => ['biblionumber.title'] },
76
)->as_list;
77
    join => ['biblionumber'],
78
});
79
my @authorised_value_list;
77
my @authorised_value_list;
80
my $authorisedvalue_categories = '';
78
my $authorisedvalue_categories = '';
81
79
82
- 

Return to bug 29099