向KOHA添加新的索引和构面字段

我使用https://wiki.koha-community.org/wiki/How_to_add_new_zebra_index和https://wiki.koha-community.org/wiki/Understanding_Zebra_indexing中的以下过程,但不会显示任何方面:

/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-koha-indexdefs.xml:

<index_data_field xmlns="http://www.koha-community.org/schemas/index-defs" tag="380" subfields="a"> <target_index>FormOfWork:w</target_index> </index_data_field> 

/etc/koha/zebradb/biblios/etc/bib1.att:

 att 10000 FormOfWork 

/etc/koha/zebradb/ccl.properties:

 FormOfWork 1=10000 

lib / C4 / Koha.pm,在sub getFacets中,(非unimarc):

 { idx => 'FormOfWork', label => 'FormOfWork', tags => [ qw/ 380a / ], sep => '--', }, 

opac / htdocs / opac-tmpl / bootstrap // includes / opac-facets.inc,after [%FOREACH facets_loo IN facets_loop%]:

 [% IF facets_loo.type_label_FormOfWork %]<h5 id="facet-FormOfWork">Form of work</h5>[% END %] 

lib / C4 / Search.pm,在子getIndexesn我的@indexes添加:

 'FormOfWork', 

运行:

 xsltproc /etc/koha/zebradb/xsl/koha-indexdefs-to-zebra.xsl /etc/koha/zebradb/marc_defs/marc21/biblios/ biblio-koha-indexdefs.xml >/etc/koha/zebradb/marc_defs/marc21/biblios/biblio-zebra-indexdefs.xsl koha-rebuild-zebra -b -f -v library koha-restart-zebra 

MARC21logging示例(无,同一logging中有一个或多个;存在于多个logging中):

 380$a Play 380$a Screenplay 

我究竟做错了什么?

谢谢,