[open-ils-commits] r7991 - in branches/rel_1_2/Open-ILS: examples src/perlmods/OpenILS/Application/Storage/Publisher web/opac/skin/default/js

svn at svn.open-ils.org svn at svn.open-ils.org
Sun Nov 4 14:51:20 EST 2007


Author: dbs
Date: 2007-11-04 14:36:02 -0500 (Sun, 04 Nov 2007)
New Revision: 7991

Modified:
   branches/rel_1_2/Open-ILS/examples/opensrf.xml.example
   branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
   branches/rel_1_2/Open-ILS/web/opac/skin/default/js/result_common.js
Log:
Backport from trunk: typo fixes (visiblity -> visibility)


Modified: branches/rel_1_2/Open-ILS/examples/opensrf.xml.example
===================================================================
--- branches/rel_1_2/Open-ILS/examples/opensrf.xml.example	2007-11-04 19:26:22 UTC (rev 7990)
+++ branches/rel_1_2/Open-ILS/examples/opensrf.xml.example	2007-11-04 19:36:02 UTC (rev 7991)
@@ -17,7 +17,7 @@
             <script_lib>/openils/var</script_lib>
         </dirs>
 
-	<!-- global data visiblity settings -->
+	<!-- global data visibility settings -->
         <share>
 		<user>
         		<!-- Set to "true" to require patron opt-in for foreign (non-home_ou) transactions -->

Modified: branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm
===================================================================
--- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm	2007-11-04 19:26:22 UTC (rev 7990)
+++ branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/metabib.pm	2007-11-04 19:36:02 UTC (rev 7991)
@@ -1038,7 +1038,7 @@
 	my $ou = $args{org_unit};
 	my $ou_type = $args{depth};
 	my $limit = $args{limit} || 10;
-	my $visiblity_limit = $args{visiblity_limit} || 5000;
+	my $visibility_limit = $args{visibility_limit} || 5000;
 	my $offset = $args{offset} || 0;
 
 	my $outer_limit = 1000;
@@ -1220,7 +1220,7 @@
 			$lf_filter
   	  	GROUP BY m.metarecord
   	  	ORDER BY 4 $sort_dir, MIN(COALESCE(CHAR_LENGTH(f.value),1))
-		LIMIT $visiblity_limit
+		LIMIT $visibility_limit
 	SQL
 
 	if (0) {
@@ -1414,7 +1414,7 @@
 	my $ou = $args{org_unit};
 	my $ou_type = $args{depth};
 	my $limit = $args{limit} || 10;;
-	my $visiblity_limit = $args{visiblity_limit} || 5000;;
+	my $visibility_limit = $args{visibility_limit} || 5000;;
 	my $offset = $args{offset} || 0;
 
 	if (!$ou) {
@@ -1711,7 +1711,7 @@
 			$join_table_list
   	  	GROUP BY m.metarecord
   	  	-- ORDER BY 4 $sort_dir
-		LIMIT $visiblity_limit
+		LIMIT $visibility_limit
 	SQL
 
 	if ($self->api_name !~ /staff/o) {
@@ -1908,7 +1908,7 @@
 	my $ou_type = $args{depth};
 	my $limit = $args{limit} || 10;
 	my $pref_lang = $args{prefered_language} || 'eng';
-	my $visiblity_limit = $args{visiblity_limit} || 5000;
+	my $visibility_limit = $args{visibility_limit} || 5000;
 	my $offset = $args{offset} || 0;
 
 	if (!$ou) {
@@ -2195,7 +2195,7 @@
 			$lf_filter
   	  	GROUP BY b.id, b.source
   	  	ORDER BY 3 $sort_dir
-		LIMIT $visiblity_limit
+		LIMIT $visibility_limit
 	SQL
 
 	if ($self->api_name !~ /staff/o) {

Modified: branches/rel_1_2/Open-ILS/web/opac/skin/default/js/result_common.js
===================================================================
--- branches/rel_1_2/Open-ILS/web/opac/skin/default/js/result_common.js	2007-11-04 19:26:22 UTC (rev 7990)
+++ branches/rel_1_2/Open-ILS/web/opac/skin/default/js/result_common.js	2007-11-04 19:36:02 UTC (rev 7991)
@@ -72,7 +72,7 @@
 	args.depth    = getDepth();
 	args.limit    = limit;
 	args.offset   = getOffset();
-	args.visiblity_limit = 3000;
+	args.visibility_limit = 3000;
 
 	if(sort) args.sort = sort;
 	if(sortdir) args.sort_dir = sortdir;



More information about the open-ils-commits mailing list