aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/web/base/reports/_list-filters.html6
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js3
2 files changed, 7 insertions, 2 deletions
diff --git a/templates/web/base/reports/_list-filters.html b/templates/web/base/reports/_list-filters.html
index 61a44629d..ce4666156 100644
--- a/templates/web/base/reports/_list-filters.html
+++ b/templates/web/base/reports/_list-filters.html
@@ -1,6 +1,10 @@
[% select_status = BLOCK %]
<select class="form-control js-multiple" name="status" id="statuses" multiple
- data-all="[% loc('All reports') %]" data-all-options='["open","closed","fixed"]'>
+ data-all="[% loc('All reports') %]" data-all-options='["open","closed","fixed"]'
+ [%~ IF c.cobrand.on_map_default_status == 'open' %]
+ data-none="[% loc('Unfixed reports') %]"
+ [%~ END ~%]
+ >
[% IF c.user_exists AND c.user.has_body_permission_to('planned_reports') AND !shortlist %]
<option value="shortlisted"[% ' selected' IF filter_status.shortlisted %]>[% loc('Shortlisted') %]</option>
<option value="unshortlisted"[% ' selected' IF filter_status.unshortlisted %]>[% loc('Unshortlisted') %]</option>
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index aa89f8115..db61bd008 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -538,10 +538,11 @@ $.extend(fixmystreet.set_up, {
function make_multi(id) {
var $id = $('#' + id),
all = $id.data('all'),
+ none = $id.data('none') || all,
allOpts = $id.data('allOptions') || [];
$id.multiSelect({
allText: all,
- noneText: all,
+ noneText: none,
positionMenuWithin: $('#side'),
presets: [{
name: all,