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

(-)a/Koha/SearchEngine/Elasticsearch/QueryBuilder.pm (-1 / +2 lines)
Lines 503-509 Arguments: Link Here
503
=item marclist
503
=item marclist
504
504
505
An arrayref containing where the particular term should be searched for.
505
An arrayref containing where the particular term should be searched for.
506
Options are: mainmainentry, mainentry, match, match-heading, see-from, and
506
Options are: mainmainentry, mainentry, match, match-heading, see-from, local-number, and
507
thesaurus. If left blank, any field is used.
507
thesaurus. If left blank, any field is used.
508
508
509
=item and_or
509
=item and_or
Lines 552-557 our $koha_to_index_name = { Link Here
552
    thesaurus       => 'subject-heading-thesaurus',
552
    thesaurus       => 'subject-heading-thesaurus',
553
    'thesaurus-conventions' => 'subject-heading-thesaurus-conventions',
553
    'thesaurus-conventions' => 'subject-heading-thesaurus-conventions',
554
    any             => '',
554
    any             => '',
555
    'local-number'  => 'local-number',
555
    all             => ''
556
    all             => ''
556
};
557
};
557
558
(-)a/admin/searchengine/elasticsearch/mappings.yaml (-1 / +1 lines)
Lines 947-953 authorities: Link Here
947
      suggestible: ''
947
      suggestible: ''
948
    opac: 1
948
    opac: 1
949
    staff_client: 1
949
    staff_client: 1
950
    type: number
950
    type: ''
951
  personal-name:
951
  personal-name:
952
    label: personal-name
952
    label: personal-name
953
    mandatory: ~
953
    mandatory: ~
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc (+28 lines)
Lines 153-158 Link Here
153
            </form>
153
            </form>
154
        [% END # /tab_panel %]
154
        [% END # /tab_panel %]
155
155
156
        [% WRAPPER tab_panel tabname="search_id" %]
157
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
158
                <input type="hidden" name="op" value="do_search" />
159
                <input type="hidden" name="type" value="intranet" />
160
                <input type="hidden" name="marclist" value="local-number" />
161
162
                <div class="form-title">
163
                    <label class="control-label" for="value_search_id"><span class="control-text">Search ID<span> <i class="fa fa-fw fa-solid fa-hashtag" aria-hidden="true"></i></label>
164
                </div>
165
166
                <div class="form-content">
167
                    <input id="value_search_id" class="form-control head-searchbox" type="text" name="value" value="[% value | html %]" placeholder="Search ID (001)" />
168
                    <button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
169
                </div>
170
171
                <button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
172
173
                <div class="form-extra-content">
174
                    [% INCLUDE authtype %]
175
                    [% INCLUDE operator %]
176
                    [% INCLUDE orderby %]
177
                </div>
178
            </form>
179
        [% END # /tab_panel %]
180
156
        [% WRAPPER tab_panel tabname="entire_record" %]
181
        [% WRAPPER tab_panel tabname="entire_record" %]
157
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
182
            <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get">
158
                <input type="hidden" name="op" value="do_search" />
183
                <input type="hidden" name="op" value="do_search" />
Lines 191-196 Link Here
191
        [% WRAPPER tab_item tabname= "matchheading_search" %]
216
        [% WRAPPER tab_item tabname= "matchheading_search" %]
192
            <i class="fa fa-fw fa-align-center" aria-hidden="true"></i> <span class="tab-title">All headings</span>
217
            <i class="fa fa-fw fa-align-center" aria-hidden="true"></i> <span class="tab-title">All headings</span>
193
        [% END %]
218
        [% END %]
219
        [% WRAPPER tab_item tabname= "search_id" %]
220
            <i class="fa fa-fw fa-solid fa-hashtag" aria-hidden="true"></i> <span class="tab-title">Search ID</span>
221
        [% END %]
194
        [% WRAPPER tab_item tabname= "entire_record" %]
222
        [% WRAPPER tab_item tabname= "entire_record" %]
195
            <i class="fa-solid fa-fw fa-folder-open" aria-hidden="true"></i> <span class="tab-title">Entire record</span>
223
            <i class="fa-solid fa-fw fa-folder-open" aria-hidden="true"></i> <span class="tab-title">Entire record</span>
196
        [% END %]
224
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities_js.inc (-1 / +2 lines)
Lines 70-75 $(document).ready(function () { Link Here
70
            $("#header_search a[href='#main_heading_panel']").tab("show");
70
            $("#header_search a[href='#main_heading_panel']").tab("show");
71
        } else if ('match' == searchType.valueOf()) {
71
        } else if ('match' == searchType.valueOf()) {
72
            $("#header_search a[href='#matchheading_search_panel']").tab("show");
72
            $("#header_search a[href='#matchheading_search_panel']").tab("show");
73
        } else if ('local-number' == searchType.valueOf()) {
74
            $("#header_search a[href='#search_id_panel']").tab("show");
73
        } else if ('all' == searchType.valueOf()) {
75
        } else if ('all' == searchType.valueOf()) {
74
            $("#header_search a[href='#entire_record_panel']").tab("show");
76
            $("#header_search a[href='#entire_record_panel']").tab("show");
75
        }
77
        }
76
- 

Return to bug 36509