[open-ils-commits] r12772 - branches/rel_1_4_0/Open-ILS/src/cgi-bin (dbs)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Apr 3 01:53:56 EDT 2009
Author: dbs
Date: 2009-04-03 01:53:53 -0400 (Fri, 03 Apr 2009)
New Revision: 12772
Modified:
branches/rel_1_4_0/Open-ILS/src/cgi-bin/lib-setup.cgi
Log:
Backport r12770 from trunk: Accomodate PostgreSQL 8.3's type strictness
Modified: branches/rel_1_4_0/Open-ILS/src/cgi-bin/lib-setup.cgi
===================================================================
--- branches/rel_1_4_0/Open-ILS/src/cgi-bin/lib-setup.cgi 2009-04-03 05:53:35 UTC (rev 12771)
+++ branches/rel_1_4_0/Open-ILS/src/cgi-bin/lib-setup.cgi 2009-04-03 05:53:53 UTC (rev 12772)
@@ -200,7 +200,7 @@
last;
}
-for my $lib ( actor::org_unit->search_like( {parent_ou => '%'}, {order_by => 'name'} ) ) {
+for my $lib ( actor::org_unit->search_where ( {parent_ou => { '>' => -1 } }, {order_by => 'name'} ) ) {
my $name = $lib->name;
$name =~ s/'/\\'/og;
my $parent = $lib->parent_ou;
More information about the open-ils-commits
mailing list