[open-ils-commits] r18994 - branches/rel_1_6_2/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Dec 13 12:53:38 EST 2010
Author: miker
Date: 2010-12-13 12:53:34 -0500 (Mon, 13 Dec 2010)
New Revision: 18994
Modified:
branches/rel_1_6_2/Open-ILS/src/sql/Pg/1.6.1-1.6.2-upgrade-db.sql
Log:
bring 1.6.1-1.6.2 upgrade script in line with r18993.
Modified: branches/rel_1_6_2/Open-ILS/src/sql/Pg/1.6.1-1.6.2-upgrade-db.sql
===================================================================
--- branches/rel_1_6_2/Open-ILS/src/sql/Pg/1.6.1-1.6.2-upgrade-db.sql 2010-12-13 17:52:33 UTC (rev 18993)
+++ branches/rel_1_6_2/Open-ILS/src/sql/Pg/1.6.1-1.6.2-upgrade-db.sql 2010-12-13 17:53:34 UTC (rev 18994)
@@ -27,7 +27,7 @@
SELECT DISTINCT ON (hard_due_date) *
FROM config.hard_due_date_values
WHERE active_date <= NOW() -- We've passed (or are at) the rollover time
- ORDER BY active_date DESC -- Latest (nearest to us) active time
+ ORDER BY hard_due_date, active_date DESC -- Latest (nearest to us) active time
LOOP
UPDATE config.hard_due_date
SET ceiling_date = temp_value.ceiling_date
More information about the open-ils-commits
mailing list