diff --git a/Clocker/Preferences/CLPreferencesViewController.m b/Clocker/Preferences/CLPreferencesViewController.m index 4bc7d2ad..74f1fe92 100644 --- a/Clocker/Preferences/CLPreferencesViewController.m +++ b/Clocker/Preferences/CLPreferencesViewController.m @@ -695,6 +695,10 @@ -(NSDragOperation)tableView:(NSTableView *)tableView -(void)tableView:(NSTableView *)tableView didClickTableColumn:(NSTableColumn *)tableColumn { + if ([[tableColumn identifier] isEqualToString:@"favouriteTimezone"]) { + return; + } + if (tableView == self.timezoneTableView) { static NSStringCompareOptions comparisonOptions = NSCaseInsensitiveSearch | NSNumericSearch | NSForcedOrderingSearch | NSWidthInsensitiveSearch; @@ -901,7 +905,8 @@ - (void)getTimeZoneForLatitude:(NSString *)latitude andLongitude:(NSString *)lon [operationObject save]; - [Answers logCustomEventWithName:@"New Place Added" customAttributes:@{@"Place Name" : filteredAddress , @"Timezone" : json[@"timeZoneId"]}]; + + [Answers logSearchWithQuery:filteredAddress customAttributes:@{@"Place Name" : filteredAddress , @"Timezone" : json[@"timeZoneId"]}]; }