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

Kyle Hall kyle.m.hall at gmail.com
Thu Apr 26 17:34:56 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Kyle Hall <kylemhall>	07/04/26 15:34:55

Modified files:
	updater        : updatedatabase 

Log message:
	Added the 'New Items E-mail List' archetype in ClubsAndServices for use with mailinglist.pl

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=dev_week&r1=1.100.2.43.2.8&r2=1.100.2.43.2.9

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.100.2.43.2.8
retrieving revision 1.100.2.43.2.9
diff -u -b -r1.100.2.43.2.8 -r1.100.2.43.2.9
--- updatedatabase	23 Apr 2007 15:13:45 -0000	1.100.2.43.2.8
+++ updatedatabase	26 Apr 2007 15:34:55 -0000	1.100.2.43.2.9
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.43.2.8 2007/04/23 15:13:45 kylemhall Exp $
+# $Id: updatedatabase,v 1.100.2.43.2.9 2007/04/26 15:34:55 kylemhall Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -280,6 +280,19 @@
 #		fieldname2 => fieldvalue2,
 #	},
 # ],
+
+    clubsAndServicesArchetypes => [{
+            uniquefieldrequired => 'casaId',
+            title => 'New Items E-mail List',
+            description => 'This archetype allows a library to create e-mail lists that patrons can subscribe to and recieve e-mails of new items at the library.',
+            publicEnrollment => 1,
+            casData1Title => 'Itemtype',
+            casData2Title => 'Callnumber',
+            casData1Desc => 'The Item Type of the items to get.',
+            casData2Desc => 'The Callnumber format of the items to get. Use % for wildcard.',
+            timestamp => '',
+    }],
+    
     systempreferences => [
 		{
             uniquefieldrequired => 'variable',
@@ -1712,6 +1725,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.43.2.9  2007/04/26 15:34:55  kylemhall
+# Added the 'New Items E-mail List' archetype in ClubsAndServices for use with mailinglist.pl
+#
 # Revision 1.100.2.43.2.8  2007/04/23 15:13:45  kylemhall
 # Added tables for RotatingCollections.pm
 #





More information about the Koha-cvs mailing list