Index: openacs-4/packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql 9 Dec 2003 13:41:52 -0000 1.1.2.1 +++ openacs-4/packages/acs-lang/tcl/lang-catalog-procs-postgresql.xql 6 Feb 2004 09:34:03 -0000 1.1.2.2 @@ -37,7 +37,7 @@ where lma1.package_key = :package_key and lma1.locale = :locale and lma1.sync_time is not null - and lma1.overwrite_date = (select max(lma2.overwrite_date) + and lma1.audit_id = (select max(lma2.audit_id) from lang_messages_audit lma2 where lma2.package_key = lma1.package_key and lma2.message_key = lma1.message_key