Commit fc21fd8
committed
Fixed the queryset filters using a proper reduce in the ConcurrencyActionMixin class, the previous code was not working when more than 1 object was selected in the list, also using a .count() on the queryset rather then len() for efficiency as we o not need the qs data, saxix#18
1 parent 044bcae commit fc21fd8
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
100 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
0 commit comments