Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exclude certain types of authorities from batch category picker #1937

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion lib/model_patches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,33 @@ def late_calculator
prepend ProAccountBans::ModelMethods
end

PublicBody.batch_excluded_tags += %w[school]
PublicBody.batch_excluded_tags += %w[
# Educational institutions
academies
fei
school
# Independent Monitoring Boards for prisons etc
hmp_imb
irc_imb
special_imb
sthf_imb
yoi_imb
# Local government — lowest tier
city_parish_council
community_council
town_council
parish_council
parish_meeting
# Healthcare — smaller healthcare providers only subject to FOI in respect of specific functions
dentist
optician
pharmacy
surgery
# Other
engrsl
signpost
unit
]

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