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

Joshua Ferraro jmf at kados.org
Sat Mar 18 23:55:26 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/03/18 22:55:26

Modified files:
	updater        : updatedatabase 

Log message:
	add syspref for the MARC Organization Code of the library

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/updater/updatedatabase.diff?only_with_tag=rel_2_2&tr1=1.100.2.35&tr2=1.100.2.36&r1=text&r2=text

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.35 koha/updater/updatedatabase:1.100.2.36
--- koha/updater/updatedatabase:1.100.2.35	Wed Mar  8 17:50:55 2006
+++ koha/updater/updatedatabase	Sat Mar 18 22:55:26 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.35 2006/03/08 17:50:55 kados Exp $
+# $Id: updatedatabase,v 1.100.2.36 2006/03/18 22:55:26 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -1058,6 +1058,15 @@
             explanation         => 'Set to anonymous borrowernumber to enable Anonymous suggestions',
             type                => 'free',
         },                           
+		{
+        uniquefieldrequired => 'variable',
+            variable            => 'MARCOrgCode',
+        value               => '0',
+            forceupdate         => { 'explanation' => 1,                                                             '
+                        type' => 1},
+            explanation         => 'Your MARC Organization Code - http://www.loc.gov/marc/organizations/orgshome.html',
+        type                => 'free',
+        },
         {                                                                                   
 	    uniquefieldrequired => 'variable',
             variable            => 'AmazonContent',
@@ -1731,6 +1740,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.36  2006/03/18 22:55:26  kados
+# add syspref for the MARC Organization Code of the library
+#
 # Revision 1.100.2.35  2006/03/08 17:50:55  kados
 # Modifying patronimages: now it can be used to specify the file extension
 # of the images (to avoid hard-codeing in templates).





More information about the Koha-cvs mailing list