#115 ✓resolved
Wai-Sun Chia

increment_leads_count and decrement_leads_count doesn't work

Reported by Wai-Sun Chia | October 29th, 2009 @ 10:40 PM | in 0.9.8 "Lasker"

  1. Create a campaign (campaign_id=3)
  2. Create a lead assigned to this campaign (lead_id=14)
  3. Campaign summary doesn't reflect an increase in the lead count.

mysql> select id, campaign_id, first_name, last_name from leads where id=14;
+----+-------------+------------+--------------+ | id | campaign_id | first_name | last_name | +----+-------------+------------+--------------+ | 14 | 3 | Shalina | Mohd. Salleh | +----+-------------+------------+--------------+ 1 row in set (0.00 sec)

mysql> select id,name, target_leads, leads_count from campaigns;
+----+------------------------------------------+--------------+-------------+ | id | name | target_leads | leads_count | +----+------------------------------------------+--------------+-------------+ | 1 | BNI Mastery Referrals: Oct09-Apr10 | 24 | 1 | | 2 | BNI Referrals (non-Mastery): Oct09-Apr10 | 12 | 1 | | 3 | DEC/Compaq/HP Cronies: Oct09-Apr10 | 12 | 0 | | 4 | Ex-BNI Members: Oct09-Apr10 | 12 | 0 | | 5 | BNI Visitors: Oct09-Apr10 | 12 | 0 | +----+------------------------------------------+--------------+-------------+ 5 rows in set (0.00 sec)

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Referenced by

Pages