Include tablename qualifier.

This commit is contained in:
Andrew McMillan 2011-06-03 14:46:33 -07:00
parent 2a1af89c77
commit db9083b587

View File

@ -225,7 +225,7 @@ function SqlFilterFragment( $filter, $components, $property = null, $parameter =
case 'DTEND':
case 'DUE':
case 'PRIORITY':
$subproperty = strtolower($propertyname);
$subproperty = 'calendar_item.'.strtolower($propertyname);
break;
case 'COMPLETED': /** @todo this should be moved into the properties supported in SQL. */