diff --git a/lib/sf/account.rb b/lib/sf/account.rb index edc8219..4c94abb 100644 --- a/lib/sf/account.rb +++ b/lib/sf/account.rb @@ -114,7 +114,8 @@ def self.active_inc_parts(service_name) Supporting_Institution__r.InCommon_Weblink__c from Service_Institution__c where Service__r.Name = \'#{service_name}\' and (Service_End_Date__c = null or Service_End_Date__c > today) - and (Service_Start_Date__c = null or Service_Start_Date__c < today)") + and (Service_Start_Date__c = null or Service_Start_Date__c < today) + and Do_Not_Publish__c <> true") build_collection sobjects.map(&:Supporting_Institution__r) unless sobjects.blank? end end diff --git a/lib/sf/version.rb b/lib/sf/version.rb index aeff44d..bd06f4b 100644 --- a/lib/sf/version.rb +++ b/lib/sf/version.rb @@ -1,3 +1,3 @@ module Sf - VERSION = "0.1.31" + VERSION = "0.1.32" end