Bugzilla – Attachment 149030 Details for
Bug 6473
Test bug for Git-bz ✔ ❤ ★
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20424: Add new zebra indexes for the last IFLA updates
Bug-20424-Add-new-zebra-indexes-for-the-last-IFLA-.patch (text/plain), 7.70 KB, created by
Thibault Keromnès
on 2023-03-31 11:58:05 UTC
(
hide
)
Description:
Bug 20424: Add new zebra indexes for the last IFLA updates
Filename:
MIME Type:
Creator:
Thibault Keromnès
Created:
2023-03-31 11:58:05 UTC
Size:
7.70 KB
patch
obsolete
>From 4c9403472542908feda74cea1006889e9fe727d4 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Wed, 31 Mar 2021 11:25:24 +0200 >Subject: [PATCH] Bug 20424: Add new zebra indexes for the last IFLA updates > >Signed-off-by: Sonia <sonia.bouis@univ-lyon3.fr> >Signed-off-by: tkeromnes <thibault.keromnes@univ-paris8.fr> > >https://bugs.koha-community.org/show_bug.cgi?id=6473 >--- > etc/zebradb/biblios/etc/bib1.att | 6 ++ > etc/zebradb/ccl.properties | 10 ++ > .../unimarc/biblios/biblio-koha-indexdefs.xml | 93 +++++++++++++++++-- > 3 files changed, 100 insertions(+), 9 deletions(-) > >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index 5689011c3b..ebf7a06bc2 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -216,6 +216,11 @@ att 1222 Subject-function > att 1223 Edition > att 1224 GPO-Item-Number > att 1225 Provider >+att 1226 index-title-serie >+att 1227 index-title-article >+att 1228 index-lien-desc >+att 1229 index-genre >+att 1230 index-type-doc > > # Koha Local-Use Biblio Indexes > att 9001 Control-number >@@ -266,6 +271,7 @@ att 8028 uri > att 8029 replacementprice > att 8030 replacementpricedate > att 8031 itype >+att 8032 new-item > > ## Fixed Fields and other special indexes > att 9901 Extent >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index b71036e872..bb01512788 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -600,6 +600,15 @@ pb Publisher > Provider 1=1225 > pv Provider > >+#index zones de liens >+index-title-serie 1=1226 >+index-title-article 1=1227 >+index-lien-desc 1=1228 >+index-genre 1=1229 >+mc-genre901 index-genre >+index-type-doc 1=1230 >+mc-typedoc index-type-doc >+ > #Note 63 A concise statement in which 5XX > # such information as extended > # physical description, >@@ -1050,6 +1059,7 @@ replacementprice 1=8029 > replacementpricedate 1=8030 > itype 1=8031 > mc-itype itype >+new-item 1=8032 > > #date1 1=8801 > #date2 1=8802 >diff --git a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >index 5425bc2ba6..69961b6668 100644 >--- a/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >+++ b/etc/zebradb/marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml >@@ -39,9 +39,16 @@ > <target_index>Date/time-last-modified:n</target_index> > <target_index>Date/time-last-modified:y</target_index> > </index_subfields> >+ >+ <index_subfields tag="099" subfields="o"> >+ <target_index>Suppress:w</target_index> >+ <target_index>Suppress:p</target_index> >+ </index_subfields> >+ > <!--record.abs line 30: melm 099$t ccode:w--> > <index_subfields tag="099" subfields="t"> >- <target_index>ccode:w</target_index> >+ <target_index>index-type-doc:w</target_index> >+ <target_index>index-type-doc:p</target_index> > </index_subfields> > <!--010 : ISBN--> > <index_subfields tag="010" subfields="az"> >@@ -475,6 +482,12 @@ > <target_index>Author:w</target_index> > <target_index>Author:p</target_index> > </index_data_field> >+ >+ <index_data_field tag="901"> >+ <target_index>index-genre:w</target_index> >+ <target_index>index-genre:p</target_index> >+ </index_data_field> >+ > <!--200 - Title--> > <!--Title-cover is used for relevant sorting--> > <index_subfields tag="200" subfields="aei"> >@@ -529,6 +542,27 @@ > <target_index>pubdate:n</target_index> > <target_index>pubdate:y</target_index> > </index_subfields> >+ >+ <index_subfields tag="214" subfields="d"> >+ <target_index>pubdate:n</target_index> >+ <target_index>pubdate:y</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="214" subfields="c"> >+ <target_index>Publisher:w</target_index> >+ <target_index>Publisher:p</target_index> >+ </index_subfields> >+ <index_subfields tag="219" subfields="d"> >+ <target_index>pubdate:n</target_index> >+ <target_index>pubdate:y</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="219" subfields="c"> >+ <target_index>Publisher:w</target_index> >+ <target_index>Publisher:p</target_index> >+ </index_subfields> >+ >+ > <!--215 - Extent--> > <!--Useless. Uncomment to index > <index_data_field tag="215"> >@@ -932,9 +966,12 @@ > </index_subfields> > <!--461 - Set level--> > <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network--> >- <index_subfields tag="461" subfields="t"> >+ <index_subfields tag="461" subfields="tv"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> >+ <target_index>index-title-serie:p</target_index> >+ <target_index>index-title-serie:w</target_index> >+ <target_index>index-title-serie:n</target_index> > <target_index>Host-item:w</target_index> > <target_index>Host-item:p</target_index> > </index_subfields> >@@ -949,9 +986,36 @@ > <target_index>Title:p</target_index> > </index_subfields> > <!--463 - Subset level--> >- <index_subfields tag="463" subfields="t"> >+ <index_subfields tag="463" subfields="tv"> > <target_index>Title:w</target_index> > <target_index>Title:p</target_index> >+ <target_index>index-title-article:p</target_index> >+ <target_index>index-title-article:w</target_index> >+ <target_index>index-title-article:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="461" subfields="9"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="463" subfields="9"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="461" subfields="0"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> >+ </index_subfields> >+ >+ <index_subfields tag="463" subfields="0"> >+ <target_index>index-lien-desc:w</target_index> >+ <target_index>index-lien-desc:p</target_index> >+ <target_index>index-lien-desc:n</target_index> > </index_subfields> > <!--464 - Piece-analytic level--> > <!-- FIXME Warning : field used by Koha for analytics, but also in Sudoc network--> >@@ -1358,6 +1422,13 @@ > <target_index>Local-classification:p</target_index> > </index_data_field> > <!--==== 995 ITEMS ====--> >+ >+ <!-- 995$B new items--> >+ <index_subfields tag="995" subfields="B"> >+ <target_index>new-item:w</target_index> >+ <target_index>new-item:n</target_index> >+ <target_index>item:w</target_index> >+ </index_subfields> > <!--995$1 damaged,damaged:n,item--> > <index_subfields tag="995" subfields="1"> > <target_index>damaged:w</target_index> >@@ -1449,12 +1520,19 @@ > <index_subfields tag="999" subfields="x"> > <target_index>not-onloan-count:n</target_index> > </index_subfields> >- <facet tag="099" subfields="t"> >- <target_index>ccode:0</target_index> >- </facet> >+ > <facet tag="225" subfields="a"> > <target_index>se:0</target_index> > </facet> >+ <facet tag="500" subfields="a"> >+ <target_index>su-ut:0</target_index> >+ </facet> >+ <facet tag="501" subfields="a"> >+ <target_index>su-ut:0</target_index> >+ </facet> >+ <facet tag="503" subfields="a"> >+ <target_index>su-ut:0</target_index> >+ </facet> > <facet tag="600" subfields="ab"> > <target_index>su-to:0</target_index> > </facet> >@@ -1497,8 +1575,5 @@ > <facet tag="995" subfields="e"> > <target_index>location:0</target_index> > </facet> >- <facet tag="995" subfields="h"> >- <target_index>ccode:0</target_index> >- </facet> > > </kohaidx:index_defs> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6473
:
4386
|
6837
|
6838
|
6839
|
6840
|
6841
|
6842
|
6843
|
7154
|
7155
|
7567
|
7994
|
7995
|
7996
|
7997
|
8018
|
9807
|
9808
|
9813
|
9831
|
9832
|
9836
|
9854
|
10842
|
10843
|
10844
|
10845
|
10846
|
10847
|
10848
|
10849
|
10850
|
10851
|
10852
|
10853
|
10854
|
10855
|
10856
|
10857
|
10858
|
11540
|
11543
|
11544
|
12502
|
12513
|
12514
|
12515
|
12516
|
12517
|
12518
|
12519
|
13473
|
13673
|
14955
|
14969
|
14970
|
14972
|
15201
|
18949
|
18950
|
18951
|
18952
|
18953
|
18954
|
18955
|
18956
|
18957
|
18958
|
18959
|
18960
|
18961
|
18962
|
18963
|
18971
|
18972
|
19518
|
19519
|
19591
|
19592
|
19871
|
19879
|
19880
|
19881
|
19882
|
20011
|
20012
|
20013
|
20014
|
22477
|
22481
|
22482
|
22496
|
22502
|
22503
|
31958
|
32444
|
32445
|
32446
|
32447
|
32448
|
32449
|
32450
|
32451
|
32452
|
34200
|
34201
|
34625
|
34999
|
35130
|
35269
|
35273
|
35274
|
35275
|
35276
|
35277
|
35279
|
35280
|
35303
|
40954
|
40957
|
45345
|
45349
|
45731
|
45732
|
45733
|
45734
|
47283
|
47284
|
47298
|
47299
|
47300
|
47334
|
47336
|
49083
|
56974
|
61059
|
61069
|
62038
|
65313
|
77301
|
78016
|
79959
|
80178
|
80179
|
80180
|
80181
|
80182
|
84400
|
86644
|
86645
|
87152
|
88128
|
95586
|
95716
|
97394
|
99026
|
99027
|
114217
|
114218
|
114219
|
114220
|
114221
|
114222
|
114223
|
114224
|
114225
|
114226
|
119255
|
121181
|
131891
|
131893
|
131894
|
134862
|
144109
|
144144
|
144671
|
144672
|
144673
|
147183
| 149030 |
149031
|
149032
|
149033
|
160566
|
160567
|
160568