diff options
| -rw-r--r-- | templates/web/base/reports/_list-filters.html | 3 | ||||
| -rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 5 | 
2 files changed, 5 insertions, 3 deletions
diff --git a/templates/web/base/reports/_list-filters.html b/templates/web/base/reports/_list-filters.html index 58be5cd50..61a44629d 100644 --- a/templates/web/base/reports/_list-filters.html +++ b/templates/web/base/reports/_list-filters.html @@ -1,5 +1,6 @@  [% select_status = BLOCK %] -    <select class="form-control js-multiple" name="status" id="statuses" multiple data-all="[% loc('All reports') %]"> +    <select class="form-control js-multiple" name="status" id="statuses" multiple +      data-all="[% loc('All reports') %]" data-all-options='["open","closed","fixed"]'>        [% 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 df8285942..aa89f8115 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -537,14 +537,15 @@ $.extend(fixmystreet.set_up, {      function make_multi(id) {          var $id = $('#' + id), -            all = $id.data('all'); +            all = $id.data('all'), +            allOpts = $id.data('allOptions') || [];          $id.multiSelect({              allText: all,              noneText: all,              positionMenuWithin: $('#side'),              presets: [{                  name: all, -                options: [] +                options: allOpts              }]          });      }  | 
