Skip to content

Commit 8ae2457

Browse files
committedAug 26, 2011
fixed AssetReport: "Order the results by" issues (#12227)
1 parent 073093e commit 8ae2457

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
 

‎docs/changelog/7.x.x.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- fixed #12225: Stock asset, multiple instances on a page
33
- fixed #12229: Indexed thingy data has gateway url prepended to it
44
- fixed #12195: Visitor group by scratch membership shared among all Visitors (Dale Trexel)
5+
- fixed #12227: Corrected AssetReport such that OrderBy works correctly.
56

67
7.10.22
78
- rfe #12223: Add date type to content profiling (metadata)

‎lib/WebGUI/Asset/Wobject/AssetReport.pm

+2-3
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ sub getTemplateVars {
159159
$rules->{'whereClause'} .= qq{$prop $op $value};
160160
}
161161

162-
if($rules->{'whereClause'}) {
163-
$rules->{'joinClass'} = $settings->{className};
164-
}
162+
# Always join to the class, asset and assetData are excluded by getLineageSql
163+
$rules->{'joinClass'} = $settings->{className};
165164

166165
#Build the order by condition
167166
my $order = $settings->{order};

0 commit comments

Comments
 (0)
Please sign in to comment.