Skip to content

Commit

Permalink
fixup! fixup! fixup! better detection of MP related alerts for grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
struan committed Dec 4, 2024
1 parent 75679ba commit 0004aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/AlertView/Standard.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ protected function setUserData() {
$add = false;
$this->data['all_keywords'][] = $term;
$this->data['own_member_alerts'][] = $alert;
} elseif (\MySociety\TheyWorkForYou\Utility\Search::searchMemberDbLookupWithNames($term)) {
} elseif (\MySociety\TheyWorkForYou\Utility\Search::searchMemberDbLookupWithNames($term, true)) {
if (!array_key_exists($term, $this->data['spoken_alerts'])) {
$this->data['spoken_alerts'][$term] = [];
}
Expand Down

0 comments on commit 0004aca

Please sign in to comment.