diff --git a/lib/sf/contact.rb b/lib/sf/contact.rb index 24f426c..d2ffd76 100644 --- a/lib/sf/contact.rb +++ b/lib/sf/contact.rb @@ -135,7 +135,7 @@ def self.board_of_trustees_as_of(date=nil) date ||= Date.today date = date.strftime('%Y-%m-%d') where = "Committee__r.Name = 'BOT (Board of Trustees)' and - Start_Date__c <= #{date} and Term_End_Date__c >= #{date} and + Start_Date__c <= #{date} and Actual_End_Date__c >= #{date} and Contact__c <> null" build_contacts(from, where) end diff --git a/lib/sf/version.rb b/lib/sf/version.rb index 87ecf55..57d8935 100644 --- a/lib/sf/version.rb +++ b/lib/sf/version.rb @@ -1,3 +1,3 @@ module Sf - VERSION = "0.1.18" + VERSION = "0.1.19" end