koha-cvs
[Top][All Lists]
Advanced

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

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


From: Antoine Farnault
Subject: [Koha-cvs] koha/updater updatedatabase [rel_3_0]
Date: Mon, 29 Jan 2007 16:45:53 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        07/01/29 16:45:53

Modified files:
        updater        : updatedatabase 

Log message:
        * adding a new default authorised value : SUGGEST.
        SUGGEST give some reasons to accept or reject a suggestion.
        
        * default value for borrowersMandatoryfield syspref is now 
"cardnumber|surname|adress"

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.53
retrieving revision 1.157.2.54
diff -u -b -r1.157.2.53 -r1.157.2.54
--- updatedatabase      26 Jan 2007 20:48:37 -0000      1.157.2.53
+++ updatedatabase      29 Jan 2007 16:45:52 -0000      1.157.2.54
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.53 2007/01/26 20:48:37 hdl Exp $
+# $Id: updatedatabase,v 1.157.2.54 2007/01/29 16:45:52 toins Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -293,7 +293,7 @@
        {
             uniquefieldrequired => 'variable',
             variable            => 'BorrowerMandatoryField',
-            value               => 'zipcode|surname',
+            value               => 'cardnumber|surname|address',
             forceupdate         => { 'explanation' => 1,
                                      'type' => 1},
             explanation         => 'List all mandatory fields for borrowers',
@@ -536,6 +536,14 @@
             defaulton           => '0',
         },
     ],
+    authorised_values => [
+        {
+            uniquefieldrequired => 'id',
+            category            => 'SUGGEST',
+            authorised_value    => 'Not enoug budget',
+            lib                 => 'This book it too much expensive',
+        }
+    ]
 );
 
 my %fielddefinitions = (
@@ -1948,6 +1956,12 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.54  2007/01/29 16:45:52  toins
+# * adding a new default authorised value : SUGGEST.
+# SUGGEST give some reasons to accept or reject a suggestion.
+#
+# * default value for borrowersMandatoryfield syspref is now 
"cardnumber|surname|adress"
+#
 # Revision 1.157.2.53  2007/01/26 20:48:37  hdl
 # Serials management : Bugfixes + improvements.
 # - Partial dates are now managed




reply via email to

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