aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/ZeroTB.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/ZeroTB.pm b/perllib/FixMyStreet/Cobrand/ZeroTB.pm
index a63a451cc..c774610c4 100644
--- a/perllib/FixMyStreet/Cobrand/ZeroTB.pm
+++ b/perllib/FixMyStreet/Cobrand/ZeroTB.pm
@@ -30,5 +30,11 @@ sub send_questionnaires { return 0; }
sub on_map_default_max_pin_age { return 0; }
sub never_confirm_updates { 1; }
+sub get_clinic_list {
+ my $self = shift;
+
+ return $self->problems->search({ state => 'confirmed' }, { order_by => 'title' });
+}
+
1;