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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (-1 / +2 lines)
Lines 929-935 OPAC: Link Here
929
            - pref: OpacAdvancedSearchTypes
929
            - pref: OpacAdvancedSearchTypes
930
              class: long
930
              class: long
931
            - "fields (separate values with |). Tabs appear in the order listed.<br/>"
931
            - "fields (separate values with |). Tabs appear in the order listed.<br/>"
932
            - "<em>Currently supported values</em>: Item types (<strong>itemtypes</strong>), Collection, (<strong>ccode</strong>) and Shelving location (<strong>loc</strong>)."
932
            - "<em>Currently supported values</em>: Item types (<strong>itemtypes</strong>), Collection, (<strong>ccode</strong>) and Shelving location (<strong>loc</strong>).<br/>"
933
            - Leave empty to disable these tabs in the OPAC advanced search.
933
    Authentication:
934
    Authentication:
934
        -
935
        -
935
            - pref: OPACShibOnly
936
            - pref: OPACShibOnly
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt (-1 / +1 lines)
Lines 155-161 Link Here
155
155
156
            <div class="row">
156
            <div class="row">
157
                [%# Following on one line for translatability %]
157
                [%# Following on one line for translatability %]
158
                [% IF ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) %]
158
                [% IF advancedsearchesloop and ( ( OpacAdvSearchOptions and OpacAdvSearchOptions.grep('itemtype').size > 0 and not expanded_options ) or ( OpacAdvSearchMoreOptions and OpacAdvSearchMoreOptions.grep('itemtype').size > 0 and expanded_options ) ) %]
159
                    <div class="col order-first order-md-first order-lg-2">
159
                    <div class="col order-first order-md-first order-lg-2">
160
                        [% WRAPPER tabs id= "advsearches" %]
160
                        [% WRAPPER tabs id= "advsearches" %]
161
                            [% WRAPPER tabs_nav %]
161
                            [% WRAPPER tabs_nav %]
(-)a/opac/opac-search.pl (-2 / +1 lines)
Lines 248-254 foreach my $itemtype ( keys %{$itemtypes} ) { Link Here
248
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
248
my $itype_or_itemtype = (C4::Context->preference("item-level_itypes"))?'itype':'itemtype';
249
my @advancedsearchesloop;
249
my @advancedsearchesloop;
250
my $cnt;
250
my $cnt;
251
my $advanced_search_types = C4::Context->preference("OpacAdvancedSearchTypes") || "itemtypes";
251
my $advanced_search_types = C4::Context->preference("OpacAdvancedSearchTypes");
252
my @advanced_search_types = split(/\|/, $advanced_search_types);
252
my @advanced_search_types = split(/\|/, $advanced_search_types);
253
253
254
my $hidingrules = C4::Context->yaml_preference('OpacHiddenItems') // {};
254
my $hidingrules = C4::Context->yaml_preference('OpacHiddenItems') // {};
255
- 

Return to bug 35372