diff --git a/Classes/Domain/Model/Transfer/FilterDto.php b/Classes/Domain/Model/Transfer/FilterDto.php index 30905090..20f47325 100644 --- a/Classes/Domain/Model/Transfer/FilterDto.php +++ b/Classes/Domain/Model/Transfer/FilterDto.php @@ -783,6 +783,11 @@ public function getSitesForFilter(): array return array_merge(array_keys($this->getAllowedSites()), ['']); } + protected function getSitesForFilterList(): string + { + return implode(',', $this->getSitesForFilter()); + } + public function getHash(): string { return $this->__toString(); @@ -797,7 +802,7 @@ public function __toString(): string { $string = $this->searchterm . $this->pid . $this->timeFrom . $this->timeTo . (string)$this->scoring . (string)$this->categoryScoring . (string)$this->timePeriod . (string)$this->identified . - (string)$this->shortMode . (string)$this->domain . $this->site; + (string)$this->shortMode . (string)$this->domain . $this->getSitesForFilterList(); return md5($string); } }