Index: trunk/extensions/SemanticDrilldown/includes/SD_Filter.php |
— | — | @@ -11,6 +11,7 @@ |
12 | 12 | var $property; |
13 | 13 | var $is_relation; |
14 | 14 | var $is_boolean; |
| 15 | + var $is_date; |
15 | 16 | var $category; |
16 | 17 | var $time_period = null; |
17 | 18 | var $input_type = null; |
— | — | @@ -42,6 +43,9 @@ |
43 | 44 | if ($types[0]->getWikiValue() == $datatypeLabels['_boo']) { |
44 | 45 | $f->is_boolean = true; |
45 | 46 | } |
| 47 | + if ($types[0]->getWikiValue() == $datatypeLabels['_dat']) { |
| 48 | + $f->is_date = true; |
| 49 | + } |
46 | 50 | } |
47 | 51 | } |
48 | 52 | $categories = SDUtils::getValuesForProperty($filter_name, SD_NS_FILTER, '_SD_VC', SD_SP_GETS_VALUES_FROM_CATEGORY, NS_CATEGORY); |
— | — | @@ -70,7 +74,6 @@ |
71 | 75 | return $f; |
72 | 76 | } |
73 | 77 | |
74 | | - |
75 | 78 | /** |
76 | 79 | * Gets an array of the possible time period values (e.g., years, |
77 | 80 | * years and months) for this filter, and, for each one, |