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

Joshua Ferraro jmf at kados.org
Thu Feb 23 04:19:48 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch: 	rel_2_2
Changes by:	Joshua Ferraro <kados at savannah.gnu.org>	06/02/23 03:19:48

Modified files:
	updater        : updatedatabase 

Log message:
	Adds the 'sortbynonfiling' systempref. With this enabled, Koha will
	correctly sort title searches according to the nonfiling characters
	in the MARC records.

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

Patches:
Index: koha/updater/updatedatabase
diff -u koha/updater/updatedatabase:1.100.2.25 koha/updater/updatedatabase:1.100.2.26
--- koha/updater/updatedatabase:1.100.2.25	Tue Feb 21 20:00:13 2006
+++ koha/updater/updatedatabase	Thu Feb 23 03:19:48 2006
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.25 2006/02/21 20:00:13 kados Exp $
+# $Id: updatedatabase,v 1.100.2.26 2006/02/23 03:19:48 kados Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -681,6 +681,15 @@
             explanation         => 'Turn on MARC support',
 	    type		=> 'YesNo'
         },
+	{
+            uniquefieldrequired => 'variable',
+            variable            => 'sortbynonfiling',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1 },
+            value               => 'no',
+            explanation         => 'Sort search results by MARC nonfiling characters',
+            type                => 'YesNo'
+        },
         {
             uniquefieldrequired => 'variable',
             variable            => 'marcflavour',
@@ -1672,6 +1681,11 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.26  2006/02/23 03:19:48  kados
+# Adds the 'sortbynonfiling' systempref. With this enabled, Koha will
+# correctly sort title searches according to the nonfiling characters
+# in the MARC records.
+#
 # Revision 1.100.2.25  2006/02/21 20:00:13  kados
 # setting default value for LabelMARCView to 'standard'
 # ----------------------------------------------------------------------





More information about the Koha-cvs mailing list