Bugzilla – Attachment 3517 Details for
Bug 5839
Add mapping for items.stocknumber to MARC21
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Adding new index stocknumber on field 952$i
0002-Bug-5839-Add-index-stocknumber-on-952-i.patch (text/plain), 2.45 KB, created by
Katrin Fischer
on 2011-03-30 06:38:48 UTC
(
hide
)
Description:
Adding new index stocknumber on field 952$i
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2011-03-30 06:38:48 UTC
Size:
2.45 KB
patch
obsolete
>From 59bd8b22d824ac0fb1d601379bef95d0b2fc9153 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <Katrin.Fischer.83@web.de> >Date: Wed, 30 Mar 2011 08:32:08 +0200 >Subject: [PATCH 2/2] Bug 5839: Add index stocknumber on 952$i >Content-Type: text/plain; charset="utf-8" > >This patch adds a new index for stocknumber on field 952$i. > >Note: For testing you have to copy over the changed files >from kohaclone/etc/zebradb/ to your koha-dev/etc/zebradb folders. >Reindex. > >To test: >1) Add 952$i to your frameworks >2) Add an item with 952$i >3) Search for your 952$i value in keyword search >4) Search for stocknumber, using stocknumber:<your 952$i value> >--- > C4/Search.pm | 1 + > etc/zebradb/biblios/etc/bib1.att | 1 + > etc/zebradb/ccl.properties | 1 + > etc/zebradb/marc_defs/marc21/biblios/record.abs | 2 +- > 4 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index 21c61fb..517ed8c 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -992,6 +992,7 @@ sub getIndexes{ > 'reserves', > 'restricted', > 'stack', >+ 'stocknumber', > 'uri', > 'withdrawn', > >diff --git a/etc/zebradb/biblios/etc/bib1.att b/etc/zebradb/biblios/etc/bib1.att >index 3397664..ed68092 100644 >--- a/etc/zebradb/biblios/etc/bib1.att >+++ b/etc/zebradb/biblios/etc/bib1.att >@@ -105,6 +105,7 @@ att 1034 ctype > att 1035 Anywhere > att 1036 Author-Title-Subject > att 1045 Record-control-number >+att 1062 stocknumber > att 1079 Subject-topical > > >diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties >index 709410d..fd52281 100644 >--- a/etc/zebradb/ccl.properties >+++ b/etc/zebradb/ccl.properties >@@ -984,6 +984,7 @@ mc-loc location > acqsource 1=8015 > coded-location-qualifier 1=8016 > price 1=8017 >+stocknumber 1=1062 > stack 1=8018 > issues 1=8019 > renewals 1=8020 >diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs >index 85eaedd..4326133 100755 >--- a/etc/zebradb/marc_defs/marc21/biblios/record.abs >+++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs >@@ -294,7 +294,7 @@ melm 952$e acqsource > melm 952$f coded-location-qualifier > melm 952$g price > #melm 952$h >-#melm 952$i >+melm 952$i stocknumber > melm 952$j stack:n,stack:w > #melm 952$k > melm 952$l issues:n,issues:w,issues:s >-- >1.7.1 >
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 5839
:
3512
|
3517
|
3600
|
3601
|
3614