fixing a problem with criteria.

This commit is contained in:
Matthew Wilson 2005-10-15 17:56:26 +00:00
parent 53a6b83c13
commit 18b544e293

View file

@ -302,7 +302,8 @@ sub getShortcutByCriteria {
# Add constraint only if it has been modified.
$sql .= " and ".$constraint if (($constraint ne $criteria) && $constraint ne "");
$sql .= " order by assetData.revisionDate desc";
# Can't do this without extensive refactoring.....!
# $sql .= " order by assetData.revisionDate desc";
# Execute the query with an unconditional read
my @ids;