Index: trunk/extensions/SemanticDrilldown/includes/SD_Filter.php |
— | — | @@ -26,9 +26,9 @@ |
27 | 27 | $field_all = $template->getFields(); |
28 | 28 | foreach( $field_all as $fieldObj ) { //for each Field, retrieve smw properties and fill $prop_name , $prop_type |
29 | 29 | $f = new SDFilter(); |
30 | | - $object_values = $fieldObj->getObject('Filter');//this returns an array with property values filled |
| 30 | + $object_values = $fieldObj->getObject('semanticdrilldown_Filter');//this returns an array with property values filled |
31 | 31 | $sd_array = $object_values['sd']; |
32 | | - $smw_array = $fieldObj->getObject('Property'); //this returns an array with property values filled |
| 32 | + $smw_array = $fieldObj->getObject('semanticmediawiki_Property'); //this returns an array with property values filled |
33 | 33 | $prop_array = $smw_array['smw']; |
34 | 34 | $f->name = $sd_array['Label']; |
35 | 35 | $f->property = $prop_array['name']; |