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

Antoine Farnault antoine at koha-fr.org
Wed Jan 10 15:13:17 CET 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	07/01/10 14:13:17

Modified files:
	updater        : updatedatabase 

Log message:
	opac_news.displayed is replaced by opac_news.number.
	This field say how are ordered the news on the template.

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

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.157.2.42
retrieving revision 1.157.2.43
diff -u -b -r1.157.2.42 -r1.157.2.43
--- updatedatabase	9 Jan 2007 14:09:01 -0000	1.157.2.42
+++ updatedatabase	10 Jan 2007 14:13:17 -0000	1.157.2.43
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.157.2.42 2007/01/09 14:09:01 toins Exp $
+# $Id: updatedatabase,v 1.157.2.43 2007/01/10 14:13:17 toins Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -873,11 +873,11 @@
             extra  => '',
         },
         {
-            field   => 'displayed',
-            type    => 'int(1)',
-            null    => 'NOT NULL',
+            field   => 'number',
+            type    => 'int(11)',
+            null    => 'NULL',
             key     => '',
-            default => '1',
+            default => '0',
             extra   => '',
         },
     ],
@@ -2093,6 +2093,10 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.157.2.43  2007/01/10 14:13:17  toins
+# opac_news.displayed is replaced by opac_news.number.
+# This field say how are ordered the news on the template.
+#
 # Revision 1.157.2.42  2007/01/09 14:09:01  toins
 # 2 field added to opac_news.('expirationdate' and 'displayed').
 #





More information about the Koha-cvs mailing list