[Koha-cvs] koha koha-tmpl/intranet-tmpl/prog/en/catalogue/... [rel_3_0]

LAURIN arnaud alaurin at ouestprovence.fr
Fri Dec 8 11:16:53 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	LAURIN arnaud <alaurin>	06/12/08 10:16:53

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/catalogue: advsearch.tmpl 
	misc/zebra     : ccl.properties pqf.properties 
	                 record_biblios_unimarc.abs 
	                 sort-string-utf_french.chr 

Log message:
	adding a new search possibility : search by barcode ....
	
	and correcting and improving zebra configurations ....

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/advsearch.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.10&r2=1.1.2.11
http://cvs.savannah.gnu.org/viewcvs/koha/misc/zebra/ccl.properties?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.4.1&r2=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/koha/misc/zebra/pqf.properties?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.4.1&r2=1.1.4.2
http://cvs.savannah.gnu.org/viewcvs/koha/misc/zebra/record_biblios_unimarc.abs?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.3&r2=1.1.2.4
http://cvs.savannah.gnu.org/viewcvs/koha/misc/zebra/sort-string-utf_french.chr?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1.2.1&r2=1.1.2.2

Patches:
Index: koha-tmpl/intranet-tmpl/prog/en/catalogue/advsearch.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/catalogue/Attic/advsearch.tmpl,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -u -b -r1.1.2.10 -r1.1.2.11
--- koha-tmpl/intranet-tmpl/prog/en/catalogue/advsearch.tmpl	21 Nov 2006 14:38:39 -0000	1.1.2.10
+++ koha-tmpl/intranet-tmpl/prog/en/catalogue/advsearch.tmpl	8 Dec 2006 10:16:53 -0000	1.1.2.11
@@ -15,7 +15,7 @@
 <!-- DATABASES -->
 
 <fieldset>
-        <legend>Select local databases:</legend>
+        <legend>Select local databases</legend>
             <p>
                 <!-- TMPL_LOOP NAME="outer_servers_loop" -->
                 <!-- TMPL_LOOP NAME="inner_servers_loop" -->
@@ -45,7 +45,7 @@
 
 <!-- BOOLEAN SEARCH OPTIONS -->
     <fieldset>
-    <!-- TMPL_IF NAME="expanded_options" --><legend>Search For:</legend><!-- /TMPL_IF --> 
+    <!-- TMPL_IF NAME="expanded_options" --><legend>Search For: </legend><!-- /TMPL_IF --> 
     <!-- TMPL_LOOP NAME="search_boxes_loop" -->
 
         <!-- TMPL_IF NAME="expanded_options" --><!-- TMPL_IF NAME="search_boxes_label" --><p style="text-indent: 4.5em;"><!-- TMPL_ELSE --><p><!-- /TMPL_IF --><!-- TMPL_ELSE --><p><!-- /TMPL_IF -->
@@ -73,6 +73,7 @@
     <option value="ti" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Title</option>
     <option value="ti,phr" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>&nbsp;&nbsp;&nbsp;&nbsp; Title Phrase</option>
     <option value="se" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>&nbsp;&nbsp;&nbsp;&nbsp; Series Title</option>
+    <option value="bc" <!-- TMPL_IF NAME="selected" -->selected="<!-- TMPL_VAR NAME="selected" -->"<!-- /TMPL_IF -->>Barcode</option>
 
         </select>
         <input type="text" size="30" name="q" title="Enter search terms" value=""/>

Index: misc/zebra/ccl.properties
===================================================================
RCS file: /sources/koha/koha/misc/zebra/Attic/ccl.properties,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -b -r1.1.4.1 -r1.1.4.2
--- misc/zebra/ccl.properties	28 Nov 2006 10:11:56 -0000	1.1.4.1
+++ misc/zebra/ccl.properties	8 Dec 2006 10:16:53 -0000	1.1.4.2
@@ -1,5 +1,5 @@
 # CCL field mappings
-# $Id: ccl.properties,v 1.1.4.1 2006/11/28 10:11:56 tipaul Exp $
+# $Id: ccl.properties,v 1.1.4.2 2006/12/08 10:16:53 alaurin Exp $
 # There are four types of lines in a CCL profile: 
 #  1. qualifier specification
 #	qualifier-name   [  attributeset   ,]  type   =   val   [  attributeset   ,]  type   =   val   ...
@@ -313,6 +313,7 @@
 #                           identifies a record in the
 #                           Library of Congress database.
 #LC-card-number 1=9
+#lc-card LC-card-number
 
 #Control number-local   12  Character string that uniquely  001, 035
 #                           identifies a record in a local
@@ -392,8 +393,8 @@
 #                           identifies a serial uniquely.
 #                           Cf. ANSI/NISO z39.9 and
 #                           ISO 3297.
-#ISSN         1=8
-#ns ISSN
+ISSN         1=8
+ns ISSN
 
 #Identifier-legal-      49  The copyright registration      017
 #deposit                    number that is assigned to
@@ -430,12 +431,15 @@
 #                           numbers, CODEN, etc., that      024, 025, 027, 028,
 #                           are indexed together in many    030, 035, 037
 #                           online public-access catalogs.
-Identifier-standard  1=1007 4=6
-sn Identifier-standard
+#Identifier-standard  1=1007 4=6
+Local-number  1=12
+#sn Identifier-standard
+sn Local-number
 #
 #Identifier-stock     1028  A stock number that could be    037
 #                           used for ordering the item.
-#Stock-number 1=1028
+Stock-number 1=1028
+bc Stock-number
 
 #Identifier-thematic  1030  The numeric designation for a   $n in the following:
 #                           part/section of a work such as  130, 240, 243, 630,
@@ -513,8 +517,6 @@
 
 #Name-geographic-place- 59  City or town where an item      008/15-17, 260$a
 #publication                was published.
-#Place-publication 1=59
-#pl Place-publication
 
 #Name-personal           1  A person's real name,           100, 400, 600, 700,
 #                           pseudonym, title of nobility    800
@@ -533,8 +535,8 @@
 #                           physical description,
 #                           relationship to other works,
 #                           or contents may be recorded.
-#Note                   1=63
-#nt Note
+Note                   1=63
+nt Note
 
 #Record-source        1019  The USMARC code or name of the  008/39, 040
 #                           organization(s) that created
@@ -739,7 +741,7 @@
 #                           example, a journal title
 #                           when the record describes an
 #                           article in the journal.
-#Host-item      1=1033
+Host-item      1=1033
 
 #Title-key              33  The unique name assigned to     222
 #                           a serial by the International
@@ -872,7 +874,10 @@
 #mc
 
 # Publisher Location
-pl 1=59
+
+Place-publication 1=59
+pl Place-publication
+#pl 1=59
 
 # Extent
 Extent 1=8001
@@ -935,7 +940,7 @@
 #fmt format
 
 # BRANCH (of local library)
-branch 1=1019
+branch 1=1033
 
 # Item Type
 

Index: misc/zebra/pqf.properties
===================================================================
RCS file: /sources/koha/koha/misc/zebra/Attic/pqf.properties,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -u -b -r1.1.4.1 -r1.1.4.2
--- misc/zebra/pqf.properties	28 Nov 2006 10:11:56 -0000	1.1.4.1
+++ misc/zebra/pqf.properties	8 Dec 2006 10:16:53 -0000	1.1.4.2
@@ -1,4 +1,4 @@
-# $Id: pqf.properties,v 1.1.4.1 2006/11/28 10:11:56 tipaul Exp $
+# $Id: pqf.properties,v 1.1.4.2 2006/12/08 10:16:53 alaurin Exp $
 #
 # Propeties file to drive org.z3950.zing.cql.CQLNode's toPQF()
 # back-end and the YAZ CQL-to-PQF converter.  This specifies the
@@ -33,10 +33,12 @@
 index.dc.creator			= 1=1003
 index.dc.author				= 1=1003
 index.dc.itemtype                       = 1=1031
-index.dc.barcode                        = 1=1032
+index.dc.barcode                        = 1=1028
 index.dc.branch                         = 1=1033
 index.dc.isbn                           = 1=7
+index.dc.issn                           = 1=8
 index.dc.any				= 1=1016
+index.dc.note			= 1=63
 
 	### Unofficial synonym for "creator"
 index.dc.editor				= 1=1020
@@ -50,10 +52,14 @@
 	# guesswork: "Content-type"
 index.dc.resourceIdentifier		= 1=12
 	# "Local number"
-index.dc.source				= 1=1019
+#index.dc.source				= 1=1019
 	# "Record-source"
 index.dc.language			= 1=54
 	# "Code--language"
+	
+index.dc.Place-publication		= 1=59
+	# "Place-publication"
+
 index.dc.relation			= 1=?
 	### No idea how to represent this
 index.dc.coverage			= 1=?

Index: misc/zebra/record_biblios_unimarc.abs
===================================================================
RCS file: /sources/koha/koha/misc/zebra/Attic/record_biblios_unimarc.abs,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -b -r1.1.2.3 -r1.1.2.4
--- misc/zebra/record_biblios_unimarc.abs	6 Dec 2006 14:20:00 -0000	1.1.2.3
+++ misc/zebra/record_biblios_unimarc.abs	8 Dec 2006 10:16:53 -0000	1.1.2.4
@@ -1,4 +1,4 @@
-# $Id: record_biblios_unimarc.abs,v 1.1.2.3 2006/12/06 14:20:00 hdl Exp $
+# $Id: record_biblios_unimarc.abs,v 1.1.2.4 2006/12/08 10:16:53 alaurin Exp $
 
 # indexing rules. It
 # results in a server which provides a passable Bath level 0 and 1 service
@@ -37,33 +37,29 @@
 melm 011$z		ISSN:w
 
 # Local-number (biblionumber can be either in 090$9 or, on some setup, on 001)
-melm 001        Local-number
-melm 090$9      Local-number
+melm 001        Local-number,Local-number:n
+melm 090$9      Local-number,Local-number:n
 melm 680$b		LC-call-number:s
 melm 680		LC-call-number
-melm 001		Identifier-standard:w
+#melm 001		Identifier-standard:w
 
 melm 200$b      Material-type
+#melm 200$b      Koha-Itemtype
 
 #melm 100$9		Cross-Reference	!:w
 
+melm 101$a		Code-Language:w
+
 ############ AUTHORS ##################
 # main author
 melm 200$f		author,author:p,author:s
 # other authors
 melm 200$g		author,author:p
 # physical author
-melm 700$9 Koha-Auth-Number,Koha-Auth-Number:n
-melm 701$9 Koha-Auth-Number,Koha-Auth-Number:n
-melm 702$9 Koha-Auth-Number,Koha-Auth-Number:n
 melm 700		author,author:p
 melm 701		author,author:p
 melm 702		author,author:p
-
 # collective author
-melm 710$9 Koha-Auth-Number,Koha-Auth-Number:n
-melm 711$9 Koha-Auth-Number,Koha-Auth-Number:n
-melm 712$9 Koha-Auth-Number,Koha-Auth-Number:n
 melm 710		author,author:p
 melm 711		author,author:p
 melm 712		author,author:p
@@ -77,6 +73,26 @@
 melm 200$d		title:w,title:p
 # subtitle
 melm 200$e		title:w,title:p
+
+
+
+#Series
+melm 225$a      Title-series
+melm 225$d      Title-series
+#Subtitle
+melm 225$e      Title-series 
+#Authors
+melm 225$f      Author,Author-Title-series
+#Part-Title
+melm 225$h      Title-series 
+#Part Number
+melm 225$i      Title-series 
+#Volume
+melm 225$v      Title-series 
+melm 225$x      ISSN
+
+melm 230$a      Electronic-Ressource
+
 # authorities title
 melm 500		title
 melm 501		title
@@ -113,6 +129,7 @@
 melm 306$a		Note	!:w,!:p
 melm 307$a		Note	!:w,!:p
 melm 308$a		Note	!:w,!:p
+melm 309$a		Note	!:w,!:p
 melm 310$a		Note	!:w,!:p
 melm 311$a		Note	!:w,!:p
 melm 312$a		Note	!:w,!:p
@@ -150,26 +167,30 @@
 melm 606		subject-heading,subject-heading:p
 melm 610		subject-heading
 
-melm 600$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 601$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 602$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 603$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 604$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 605$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 606$9      Koha-Auth-Number,Koha-Auth-Number:n
-melm 610$9      Koha-Auth-Number,Koha-Auth-Number:n
+melm 600$9      Koha-Auth-Number:n
+melm 601$9      Koha-Auth-Number:n
+melm 602$9      Koha-Auth-Number:n
+melm 603$9      Koha-Auth-Number:n
+melm 604$9      Koha-Auth-Number:n
+melm 605$9      Koha-Auth-Number:n
+melm 606$9      Koha-Auth-Number:n
+melm 610$9      Koha-Auth-Number:n
 
 #melm 650$9		Controlled-Subject-Index	
 
 melm 676$a		Dewey-classification:w,Dewey-classification:s
 
 #############"# item information (based on 995) ###############
-melm 995$j		LC-card-number:s
-melm 995$k		Call-Number
+#melm 995$j		LC-card-number:s
+
+#melm 995$k		Call-Number
+melm 995$k		Local-classification
+
 #melm 952$a		Local-classification
-#melm 952$b		Record-source
-melm 995$c		Host-item
-melm 995$d		Host-item
+#melm 995$a		Record-source
+melm 995$a		Host-item
+#melm 995$c		Host-item
+#melm 995$d		Host-item
 melm 995$f		Stock-number
 melm 995$s      popularity:n,popularity:s
 #melm 952$v		Date-of-acquisition,Date-of-acquisition:d,Date-of-acquisition:s

Index: misc/zebra/sort-string-utf_french.chr
===================================================================
RCS file: /sources/koha/koha/misc/zebra/Attic/sort-string-utf_french.chr,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -b -r1.1.2.1 -r1.1.2.2
--- misc/zebra/sort-string-utf_french.chr	6 Dec 2006 09:23:20 -0000	1.1.2.1
+++ misc/zebra/sort-string-utf_french.chr	8 Dec 2006 10:16:53 -0000	1.1.2.2
@@ -1,6 +1,6 @@
 # Generic character map.
 #
-# $Id: sort-string-utf_french.chr,v 1.1.2.1 2006/12/06 09:23:20 tipaul Exp $
+# $Id: sort-string-utf_french.chr,v 1.1.2.2 2006/12/08 10:16:53 alaurin Exp $
 
 # Define the basic value-set. *Beware* of changing this without re-indexing
 # your databases.
@@ -16,7 +16,8 @@
 equivalent æä(ae)
 equivalent øö(oe)
 equivalent å(aa)
-equivalent uü
+#equivalent uü
+equivalent y(i)
 
 # Supplemental mappings
 
@@ -31,13 +32,13 @@
 map (&Aring;)      Å
 map (&Ouml;)       Ö
 
-map âàáäÂÀÂ		a
-map êèéëÊÈÉË		e
-map îïíÎÏ		i
-map ôöóÔÖ		o
-map ûùüÛÜ       u
-map ç       c
-map y   i
+map (âàáäÂÀÂ)		a
+map (êèéëÊÈÉË)		e
+map (îïíÎÏ)		i
+map (ôöóÔÖ)		o
+map (ûùüÛÜ)       u
+map (ç)       c
+#map (y)   i
 
 #map (Aa)	(AA)
 





More information about the Koha-cvs mailing list