Files
fizzy/app/models
Mike Dalessio e0fa376d4f Update scoreable to return a large positive number when score==0 (#290)
Avoid infinite activity score orders

Items with a zero activity score were getting an activity sorting score
of -infinity, because we base the value on log2(score). Adjusting the
calculation avoids this edge case, by always basing the sorting score on
a non-zero number.

---------

Co-authored-by: Kevin McConnell <kevin@37signals.com>
2025-03-11 07:39:17 -04:00
..
2024-09-24 14:30:22 -04:00
2025-03-05 16:51:14 +00:00
2024-10-21 15:33:30 -06:00
2024-09-24 15:32:44 -04:00
2024-06-21 13:19:56 +01:00
2024-11-21 19:58:21 -06:00
2025-03-05 17:16:31 +00:00
2025-02-26 10:53:03 +00:00
2025-03-05 17:16:31 +00:00
2024-10-23 18:49:40 -06:00
2025-03-05 17:16:31 +00:00
2025-01-13 14:21:47 +00:00
2024-11-05 13:04:05 -06:00
2024-12-18 12:38:53 -06:00
2025-02-19 10:16:31 -06:00
2025-02-26 10:53:03 +00:00
2025-02-14 11:23:08 -06:00
2024-09-05 17:36:48 -04:00
2025-03-03 17:04:16 +00:00
2024-10-21 15:33:30 -06:00