Index: openacs-4/packages/download/www/admin/approve-or-reject-oracle.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/approve-or-reject-oracle.xql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/download/www/admin/approve-or-reject-oracle.xql 22 May 2001 04:17:45 -0000 1.2
+++ openacs-4/packages/download/www/admin/approve-or-reject-oracle.xql 23 May 2001 16:35:03 -0000 1.3
@@ -4,16 +4,17 @@
oracle8.1.6
-
+
select da.repository_id as repository_id,
+ da.archive_id,
da.archive_name,
da.summary,
dar.revision_id,
dar.file_name,
dar.version_name,
round(dbms_lob.getlength(dar.content)/1024) as file_size,
- case when da.latest_revision = dar.revision_id then 't' else 'f' end as current_version_p,
+ decode(da.latest_revision, dar.revision_id, 't', 'f') as current_version_p,
dar.creation_user,
dar.creation_date,
u.last_name || ', ' || u.first_names as creation_user_name
@@ -24,7 +25,7 @@
dar.revision_id = :revision_id and
u.user_id = dar.creation_user
-
+
Index: openacs-4/packages/download/www/admin/approve-or-reject-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/approve-or-reject-postgresql.xql,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/download/www/admin/approve-or-reject-postgresql.xql 22 May 2001 04:17:45 -0000 1.4
+++ openacs-4/packages/download/www/admin/approve-or-reject-postgresql.xql 23 May 2001 16:35:03 -0000 1.5
@@ -4,16 +4,18 @@
postgresql7.1
-
+
select da.repository_id as repository_id,
+ da.archive_id,
da.archive_name,
da.summary,
dar.revision_id,
dar.file_name,
dar.version_name,
dar.file_size / 1024 as file_size,
- case when da.latest_revision = dar.revision_id then 't' else 'f' end as current_version_p,
+ case when da.latest_revision = dar.revision_id then 't' else 'f' end
+ as current_version_p,
dar.creation_user,
dar.creation_date,
u.last_name || ', ' || u.first_names as creation_user_name
@@ -24,7 +26,7 @@
dar.revision_id = :revision_id and
u.user_id = dar.creation_user
-
+
Index: openacs-4/packages/download/www/admin/approve-or-reject.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/download/www/admin/approve-or-reject.adp,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/download/www/admin/approve-or-reject.adp 20 Apr 2001 20:51:10 -0000 1.1
+++ openacs-4/packages/download/www/admin/approve-or-reject.adp 23 May 2001 16:35:03 -0000 1.2
@@ -5,10 +5,10 @@