aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/User.pm
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-09-19 17:07:45 +0100
committerMatthew Somerville <matthew@mysociety.org>2016-09-20 15:10:52 +0100
commitac8145c7ec2d648be0c687d2d0037757f4142eaf (patch)
treeb4461616a580ab09529cd4983991d6da314b49a3 /perllib/FixMyStreet/DB/Result/User.pm
parente9a5d2fb6e1985a0d946ad3574234784f4f659c4 (diff)
Organize report admin actions into single control.
As part of this, rename "planned reports" to "shortlist". The `.segmented-control` component now supports basic usage (as in the admin report actions menu bar) and usage with hidden radio inputs and labels (as on the report questionnaire page).
Diffstat (limited to 'perllib/FixMyStreet/DB/Result/User.pm')
-rw-r--r--perllib/FixMyStreet/DB/Result/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/Result/User.pm b/perllib/FixMyStreet/DB/Result/User.pm
index 0ba7e252c..363bbb930 100644
--- a/perllib/FixMyStreet/DB/Result/User.pm
+++ b/perllib/FixMyStreet/DB/Result/User.pm
@@ -327,7 +327,7 @@ sub adopt {
$other->delete;
}
-# Planned reports
+# Planned reports / shortlist
# Override the default auto-created function as we only want one live entry per user
around add_to_planned_reports => sub {