From bd73303321e4fd7bc85317128d58cc962bc83bd6 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Sat, 30 Nov 2002 18:35:58 +0000 Subject: [PATCH] Eliminated Extra Columns, wobjects that are in the trash, and wobjects that have expired from the list of proxy candidates. --- lib/WebGUI/Wobject/WobjectProxy.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Wobject/WobjectProxy.pm b/lib/WebGUI/Wobject/WobjectProxy.pm index f02fed7b8..eb77330c2 100644 --- a/lib/WebGUI/Wobject/WobjectProxy.pm +++ b/lib/WebGUI/Wobject/WobjectProxy.pm @@ -71,7 +71,7 @@ sub www_edit { $f->date("endDate",WebGUI::International::get(498),$endDate); $a = WebGUI::SQL->read("select pageId,menuTitle from page where pageId<2 or pageId>25 order by title"); while (%page = $a->hash) { - $b = WebGUI::SQL->read("select wobjectId,title from wobject where pageId=".$page{pageId}." and namespace<>'WobjectProxy' order by sequenceNumber"); + $b = WebGUI::SQL->read("select wobjectId,title from wobject where pageId=".$page{pageId}." and namespace<>'WobjectProxy' and namespace<>'ExtraColumn' and endDate=>".time()." and pageId<>3 order by sequenceNumber"); while (%wobject = $b->hash) { $wobjects{$wobject{wobjectId}} = $page{menuTitle}." / ".$wobject{title}." (".$wobject{wobjectId}.")"; }