Files
NodeBB/src
Julian Lam 1603566bcc fix: filtering logic of flags [breaking]
When combining filters, the old logic assumed that every filter was
exclusive, unless that filter contained multiple items, in which
case it was added to a list of "or" filters that returned all
matching flags.

A fault was discovered in that if you passed in multiple "or"
states, it did not return flags with the expected filtering.

e.g. open flags, closed flags, flags of cid 1, flags of cid 2

This could return open flags of cid 3, since all of the filters
were "OR"'d.

This logic change updates the behaviour so disparate OR sets are
intersected (ANDed).
2021-01-25 11:29:00 -05:00
..
2020-10-16 22:41:38 -04:00
2021-01-18 15:31:14 -05:00
2020-12-06 12:36:40 -05:00
2021-01-12 10:46:55 -05:00
2021-01-23 00:04:48 -05:00
2021-01-06 20:43:07 -05:00
2021-01-06 21:25:32 -05:00
2020-11-26 13:56:34 -05:00
2019-09-23 22:30:17 -04:00
2020-11-06 23:13:12 -05:00
2020-10-26 10:43:18 -04:00
2020-12-11 22:50:42 -05:00
2021-01-22 23:59:52 -05:00
2020-12-06 13:03:33 -05:00
2021-01-15 14:42:19 -05:00
2020-10-26 10:43:18 -04:00
2020-11-26 13:56:53 -05:00
2020-12-06 13:03:33 -05:00
2018-10-18 15:15:54 -04:00
2020-07-25 09:44:50 -04:00
2020-11-26 13:56:34 -05:00