Skip to content

Commit

Permalink
Fix scorecard filter bug on joint C+NEDs
Browse files Browse the repository at this point in the history
The table filter previously assumed a council’s NED field is
either 0 or 1, but it can be 2 (in the case of joint climate
and nature emergency declarations), or 3 (in the case of a
nature recovery motion but no explicit nature emergency
declaration).
  • Loading branch information
zarino committed Dec 18, 2024
1 parent e5574ef commit 7940ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _sass/_scorecard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ body:has(.scorecard) {
[data-filters*="imd-3"] tbody tr:not([data-imd="3"]),
[data-filters*="imd-4"] tbody tr:not([data-imd="4"]),
[data-filters*="imd-5"] tbody tr:not([data-imd="5"]),
[data-filters*="has-ned"] tbody tr:not([data-ned="1"]),
[data-filters*="has-ned"] tbody tr[data-ned="0"],
[data-filters*="has-no-ned"] tbody tr:not([data-ned="0"]),
[data-filters*="has-priority-1"] tbody tr:not([data-priority-1="1"]),
[data-filters*="has-priority-2"] tbody tr:not([data-priority-2="1"]),
Expand Down

0 comments on commit 7940ea4

Please sign in to comment.