koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/updater updatedatabase


From: Chris Cormack
Subject: [Koha-cvs] koha/updater updatedatabase
Date: Mon, 22 May 2006 22:40:45 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         
Changes by:     Chris Cormack <address@hidden>  06/05/22 22:40:45

Modified files:
        updater        : updatedatabase 

Log message:
        Adding new systempreference allowing for the library to add borrowers 
to institutions (rest homes, parishes, schools, classes etc).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/updater/updatedatabase.diff?tr1=1.139&tr2=1.140&r1=text&r2=text

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.139 koha/updater/updatedatabase:1.140
--- koha/updater/updatedatabase:1.139   Fri May 19 19:31:29 2006
+++ koha/updater/updatedatabase Mon May 22 22:40:45 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.139 2006/05/19 19:31:29 tgarip1957 Exp $
+# $Id: updatedatabase,v 1.140 2006/05/22 22:40:45 rangi Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -417,6 +417,15 @@
             explanation         => 'Max delay before considering the transfer 
has potentialy a problem',
             type                => 'free',
         },
+        {
+            uniquefieldrequired => 'variable',
+            variable            => 'memberofinstitution',
+            value               => '0',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'Are your patrons members of institutions',
+            type                => 'YesNo',
+        },
     ],
 
 );
@@ -1576,6 +1585,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.140  2006/05/22 22:40:45  rangi
+# Adding new systempreference allowing for the library to add borrowers to 
institutions (rest homes, parishes, schools, classes etc).
+#
 # Revision 1.139  2006/05/19 19:31:29  tgarip1957
 # Added new fields to auth_header and auth_subfield_table to allow ZEBRA use 
of authorities and new MARC framework like structure.
 # Authority tables are modified to be compatible with new MARC frameworks. 
This change is part of Authority Linking & Zebra authorities. Requires change 
in Mysql database. It will break head unless all changes regarding this is 
implemented. This warning will take place on all commits regarding this




reply via email to

[Prev in Thread] Current Thread [Next in Thread]