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

Henri-Damien LAURENT laurenthdl at alinto.com
Fri Nov 24 14:54:55 CET 2006


CVSROOT:	/cvsroot/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Henri-Damien LAURENT <hdl>	06/11/24 13:54:55

Modified files:
	updater        : updatedatabase 

Log message:
	Adding serialsadditem

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /cvsroot/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.27
retrieving revision 1.157.2.28
diff -u -b -r1.157.2.27 -r1.157.2.28
--- updatedatabase	24 Nov 2006 11:07:09 -0000	1.157.2.27
+++ updatedatabase	24 Nov 2006 13:54:55 -0000	1.157.2.28
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.27 2006/11/24 11:07:09 alaurin Exp $
+# $Id: updatedatabase,v 1.157.2.28 2006/11/24 13:54:55 hdl Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -362,6 +362,28 @@
             explanation         => 'switch to activate or not Autolocation, if Yes, the Librarian can\'t change his location, it\'s defined by branchip',
             type                => 'YesNo',
         },
+        {
+            uniquefieldrequired => 'variable',
+            variable            => 'AutoLocation',
+            value               => '0',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'switch to activate or not Autolocation, if Yes, the Librarian can\'t change his location, it\'s defined by branchip',
+            type                => 'YesNo',
+        },
+        {
+            uniquefieldrequired => 'variable',
+            variable            => 'serialsadditems',
+            value               => '0',
+            forceupdate         => {
+                'explanation' => 1,
+                '
+                                        type' => 1
+            },
+            explanation =>
+'If set, a new item will be automatically added when receiving an issue',
+            type => 'YesNo',
+        },
     ],
 	userflags => [
 		{
@@ -2001,6 +2023,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.28  2006/11/24 13:54:55  hdl
+# Adding serialsadditem
+#
 # Revision 1.157.2.27  2006/11/24 11:07:09  alaurin
 # bug sanop #74 :
 #





More information about the Koha-cvs mailing list