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

(-)a/C4/Auth.pm (-1 / +1 lines)
Lines 332-338 sub get_template_and_user { Link Here
332
            LoginSurname                 => C4::Context->userenv?C4::Context->userenv->{"surname"}:"Inconnu",
332
            LoginSurname                 => C4::Context->userenv?C4::Context->userenv->{"surname"}:"Inconnu",
333
            TagsEnabled                  => C4::Context->preference("TagsEnabled"),
333
            TagsEnabled                  => C4::Context->preference("TagsEnabled"),
334
            hide_marc                    => C4::Context->preference("hide_marc"),
334
            hide_marc                    => C4::Context->preference("hide_marc"),
335
            'item-level_itypes'          => C4::Context->preference('item-level_itypes'),
335
            item_level_itypes            => C4::Context->preference('item-level_itypes'),
336
            patronimages                 => C4::Context->preference("patronimages"),
336
            patronimages                 => C4::Context->preference("patronimages"),
337
            singleBranchMode             => C4::Context->preference("singleBranchMode"),
337
            singleBranchMode             => C4::Context->preference("singleBranchMode"),
338
            XSLTDetailsDisplay           => C4::Context->preference("XSLTDetailsDisplay"),
338
            XSLTDetailsDisplay           => C4::Context->preference("XSLTDetailsDisplay"),
(-)a/opac/opac-reserve.pl (-1 / +1 lines)
Lines 290-296 my $biblioLoop = []; Link Here
290
my $numBibsAvailable = 0;
290
my $numBibsAvailable = 0;
291
my $itemdata_enumchron = 0;
291
my $itemdata_enumchron = 0;
292
my $anyholdable;
292
my $anyholdable;
293
my $itemLevelTypes = C4::Context->preference('item_level_itypes');
293
my $itemLevelTypes = C4::Context->preference('item-level_itypes');
294
$template->param('item_level_itypes' => $itemLevelTypes);
294
$template->param('item_level_itypes' => $itemLevelTypes);
295
295
296
foreach my $biblioNum (@biblionumbers) {
296
foreach my $biblioNum (@biblionumbers) {
(-)a/opac/opac-search.pl (-1 / +1 lines)
Lines 153-159 $template->param(search_languages_loop => $languages_limit_loop,); Link Here
153
# load the Type stuff
153
# load the Type stuff
154
my $itemtypes = GetItemTypes;
154
my $itemtypes = GetItemTypes;
155
# the index parameter is different for item-level itemtypes
155
# the index parameter is different for item-level itemtypes
156
my $itype_or_itemtype = (C4::Context->preference("item_level_itypes"))?'itype':'itemtype';
156
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
157
my @itemtypesloop;
157
my @itemtypesloop;
158
my $selected=1;
158
my $selected=1;
159
my $cnt;
159
my $cnt;
(-)a/reserve/request.pl (-2 / +1 lines)
Lines 330-336 foreach my $biblionumber (@biblionumbers) { Link Here
330
        foreach my $itemnumber ( @{ $itemnumbers_of_biblioitem{$biblioitemnumber} } )    {
330
        foreach my $itemnumber ( @{ $itemnumbers_of_biblioitem{$biblioitemnumber} } )    {
331
            my $item = $iteminfos_of->{$itemnumber};
331
            my $item = $iteminfos_of->{$itemnumber};
332
            
332
            
333
            unless (C4::Context->preference('item_level_itypes')) {
333
            unless (C4::Context->preference('item-level_itypes')) {
334
                $item->{itype} = $biblioitem->{itemtype};
334
                $item->{itype} = $biblioitem->{itemtype};
335
            }
335
            }
336
            
336
            
337
- 

Return to bug 5462