Report leads available for products with no allotment

FixSecurityService
Ya
21 Agosti 2026, 01:47 UTC
Mwandishi
Kamo
Ahadi ya
8452e34

/manage built its whole response by looping over allotments, calling countAssignablePool once per row. But the Manage-Credits grid lists products from the vendor catalogue, not from allotments — so a product nobody held a credit rule for was displayed with 0 available leads no matter how full its pool was. Eleven newly created Farm products read 0 against pools of 11 to 6,730 leads; the one product that did have allotments reported correctly, which made it look like a data problem with the other ten thousand leads. Now also returns leadsByProduct, covering every product in the market, from a single grouped query.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei