From dc82daaac8260ab62cacac19967c29d2dfa779ba Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 28 Jul 2008 03:23:45 +0000 Subject: [PATCH] Document the heretofore missing joinClass option in WebGUI::Search. --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Search.pm | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 22a4a860c..654ef0a0b 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,6 +1,7 @@ 7.5.19 - fixed: unable to purge trash - fixed: EMS not displaying all users with a badge + - fixed: WebGUI::Search - joinClass not documented 7.5.18 - fixed: Collateral Image Manager broken in Firefox 3 diff --git a/lib/WebGUI/Search.pm b/lib/WebGUI/Search.pm index 8cdab0d3c..b8237d1a8 100644 --- a/lib/WebGUI/Search.pm +++ b/lib/WebGUI/Search.pm @@ -324,6 +324,12 @@ This rule adds an additional where clause to the search. where => 'className NOT LIKE "WebGUI::Asset::Wobject%"' +=head4 joinClass + +This is an array reference of asset classes. Each asset class will be queried via its +definition method to see what tables should be joined to the assetData table. Only the +most recent revisions of data will be added to the search. + =head4 join This rule allows for an array reference of table join clauses.