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

Joshua Ferraro jmf at kados.org
Tue Feb 21 19:40:08 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/02/21 18:40:08

Modified files:
	updater        : updatedatabase 

Log message:
	Adding LabeledMARCView systempref to choose whether tags are displayed
	in standard or economical format. Later, this can be used to display
	'strict' format with no labels for insane librarians who want that.

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.23 koha/updater/updatedatabase:1.100.2.24
--- koha/updater/updatedatabase:1.100.2.23	Tue Feb  7 15:33:35 2006
+++ koha/updater/updatedatabase	Tue Feb 21 18:40:08 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.23 2006/02/07 15:33:35 hdl Exp $
+# $Id: updatedatabase,v 1.100.2.24 2006/02/21 18:40:08 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -810,6 +810,19 @@
 	    type		=> 'Choice',
 	    options		=> 'normal|marc|isbd'
         },
+
+	{
+            uniquefieldrequired => 'variable',
+            variable            => 'LabeledMARCView',
+            value               => 'normal',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1,
+                                     'options' => 1},
+            explanation         => 'Define how a MARC record will display',
+            type                => 'Choice',
+            options             => 'standard|economical'
+        },
+
         {
             uniquefieldrequired => 'variable',
             variable            => 'opacstylesheet',
@@ -1659,6 +1672,11 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.24  2006/02/21 18:40:08  kados
+# Adding LabeledMARCView systempref to choose whether tags are displayed
+# in standard or economical format. Later, this can be used to display
+# 'strict' format with no labels for insane librarians who want that.
+#
 # Revision 1.100.2.23  2006/02/07 15:33:35  hdl
 # Adding a new system preference : serialsadditem
 #





More information about the Koha-cvs mailing list