Skip to content

Commit

Permalink
Exclude schools from batch requests
Browse files Browse the repository at this point in the history
This previously was done in Alaveteli core for the batch category UI.
This will now also exclude schools from the batch authority search.

Depends on: mysociety/alaveteli#8258
  • Loading branch information
gbp committed May 16, 2024
1 parent fe43756 commit 723bd4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/model_patches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ def late_calculator
prepend ProAccountBans::ModelMethods
end

PublicBody.batch_search_excluded_tags += %w[school]

PublicBody.excluded_calculated_home_page_domains += %w[
aol.co.uk
blueyonder.co.uk
Expand Down

0 comments on commit 723bd4b

Please sign in to comment.