[open-ils-commits] r10708 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 26 12:50:17 EDT 2008
Author: miker
Date: 2008-09-26 12:50:12 -0400 (Fri, 26 Sep 2008)
New Revision: 10708
Modified:
trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Log:
fixing BETWEEN pub date filtering
Modified: trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql 2008-09-25 21:44:55 UTC (rev 10707)
+++ trunk/Open-ILS/src/sql/Pg/300.schema.staged_search.sql 2008-09-26 16:50:12 UTC (rev 10708)
@@ -345,7 +345,7 @@
END IF;
IF param_between IS NOT NULL AND array_upper(param_between, 1) > 1 THEN
- where_clause = where_clause || $$ AND mrd.date1 BETWEEN $$ || array_to_string(param_bib_level, $$' AND '$$) || ' ';
+ where_clause = where_clause || $$ AND mrd.date1 BETWEEN '$$ || array_to_string(param_between, $$' AND '$$) || $$' $$;
END IF;
core_rel_query := select_clause || from_clause || where_clause ||
More information about the open-ils-commits
mailing list