diff --git a/classes/ezfsearchresultinfo.php b/classes/ezfsearchresultinfo.php index 756f2e4b..301a31b3 100644 --- a/classes/ezfsearchresultinfo.php +++ b/classes/ezfsearchresultinfo.php @@ -296,9 +296,9 @@ public function attribute( $attr ) } break; case 'facet_dates': { - if ( isset( $this->ResultArray['facet_dates'] ) ) + if ( isset( $this->ResultArray['facet_counts']['facet_dates'] ) ) { - return $this->ResultArray['facet_dates']; + return $this->ResultArray['facet_counts']['facet_dates']; } else {