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

(-)a/catalogue/itemsearch.pl (-3 lines)
Lines 254-263 if ( defined $format ) { Link Here
254
        $template->param(sEcho => scalar $cgi->param('sEcho'));
254
        $template->param(sEcho => scalar $cgi->param('sEcho'));
255
        output_with_http_headers $cgi, $cookie, $template->output, 'json';
255
        output_with_http_headers $cgi, $cookie, $template->output, 'json';
256
    }
256
    }
257
258
    exit;
257
    exit;
259
}
258
}
260
261
# Display the search form
259
# Display the search form
262
260
263
my @branches = map { value => $_->branchcode, label => $_->branchname }, Koha::Libraries->search( {}, { order_by => 'branchname' } );
261
my @branches = map { value => $_->branchcode, label => $_->branchname }, Koha::Libraries->search( {}, { order_by => 'branchname' } );
Lines 309-313 $template->param( Link Here
309
    items_search_fields => \@items_search_fields,
307
    items_search_fields => \@items_search_fields,
310
    authorised_values_json => to_json($authorised_values),
308
    authorised_values_json => to_json($authorised_values),
311
);
309
);
312
313
output_html_with_http_headers $cgi, $cookie, $template->output;
310
output_html_with_http_headers $cgi, $cookie, $template->output;
(-)a/etc/z3950/pqf.properties (-1 / +20 lines)
Lines 15-20 set.cql = info:srw/cql-context-set/1/cql-v1.1 Link Here
15
set.rec     = info:srw/cql-context-set/2/rec-1.0
15
set.rec     = info:srw/cql-context-set/2/rec-1.0
16
set.dc      = info:srw/cql-context-set/1/dc-v1.1
16
set.dc      = info:srw/cql-context-set/1/dc-v1.1
17
set.bath    = http://zing.z3950.org/cql/bath/2.0/
17
set.bath    = http://zing.z3950.org/cql/bath/2.0/
18
set.koha    = https://wiki.koha-community.org/wiki/Making_more_indexes_searchable_with_Zebra_SRU
18
19
19
# default set (in query)
20
# default set (in query)
20
set     = info:srw/cql-context-set/1/dc-v1.1
21
set     = info:srw/cql-context-set/1/dc-v1.1
Lines 160-162 index.bath.geographicName = 1=58 Link Here
160
index.bath.notes            = 1=63
161
index.bath.notes            = 1=63
161
index.bath.topicalSubject   = 1=1079
162
index.bath.topicalSubject   = 1=1079
162
index.bath.genreForm        = 1=1075
163
index.bath.genreForm        = 1=1075
163
- 
164
165
# Koha specific indexes
166
167
index.koha.withdrawn             = 1=8001
168
index.koha.lost                  = 1=8002
169
index.koha.classification-soruce = 1=8003
170
index.koha.materials-specified   = 1=8004
171
index.koha.damaged               = 1=8005
172
index.koha.restricted            = 1=8006
173
index.koha.cn-sort               = 1=8007
174
index.koha.notforloan            = 1=8008
175
index.koha.ccode                 = 1=8009
176
index.koha.itemnumber            = 1=8010
177
index.koha.homebranch            = 1=8011
178
index.koha.holdingbranch         = 1=8012
179
index.koha.location              = 1=8013
180
index.koha.barcode               = 1=8023
181
index.koha.onloan                = 1=8024
182
index.koha.itemtype              = 1=8031

Return to bug 8280