[Koha-cvs] koha/updater updatedatabase [rel_3_0]

Bruno Toumi btoumi at ouestprovence.fr
Wed Dec 6 15:12:18 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Bruno Toumi <btoumi>	06/12/06 14:12:18

Modified files:
	updater        : updatedatabase 

Log message:
	add BorrowersTitles systempreferences to setup borrowers title

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=rel_3_0&r1=1.157.2.32&r2=1.157.2.33

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.32
retrieving revision 1.157.2.33
diff -u -b -r1.157.2.32 -r1.157.2.33
--- updatedatabase	6 Dec 2006 13:49:41 -0000	1.157.2.32
+++ updatedatabase	6 Dec 2006 14:12:18 -0000	1.157.2.33
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.32 2006/12/06 13:49:41 toins Exp $
+# $Id: updatedatabase,v 1.157.2.33 2006/12/06 14:12:18 btoumi Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -268,6 +268,15 @@
         },
         {
             uniquefieldrequired => 'variable',
+            variable            => 'BorrowersTitles',
+            value               => 'Mr|Mrs|Miss|Ms',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'List all Titles for borrowers',
+            type                => 'free',
+        },
+	{
+            uniquefieldrequired => 'variable',
             variable            => 'BorrowerMandatoryField',
             value               => 'zipcode|surname',
             forceupdate         => { 'explanation' => 1,
@@ -2010,6 +2019,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.33  2006/12/06 14:12:18  btoumi
+# add BorrowersTitles systempreferences to setup borrowers title
+#
 # Revision 1.157.2.32  2006/12/06 13:49:41  toins
 # deleting additionalauthors, bibliosubjects, bibliosubtitles.
 #





More information about the Koha-cvs mailing list