Right now if you Flag a node (for the first time) and then unflag it, the flag_counts table is updated with a count of "0". The problem with that is that nodes that have never been flagged have a count of NULL (since there is no row at all). This causes sorting problems in Views and SQL queries since 0 is ordered before NULL.
Attached are Flag 1 and 2 patches.
| Comment | File | Size | Author |
|---|---|---|---|
| flag_null2.patch | 2.33 KB | quicksketch | |
| flag_null.patch | 1.62 KB | quicksketch |
Comments
Comment #1
quicksketchCommitted to both branches.