Permalink
Browse files

Fix an issue where checking and then unchecking "Suppress leading pla…

…ceholder" in content filters would not work properly

(code did not properly handle @no vs nil). Issue #2511
  • Loading branch information...
dmoagx committed Jul 9, 2016
1 parent e155d94 commit 7f8e159900b8fb365aab72b146a05ffc3699f4dd
Showing with 1 addition and 1 deletion.
  1. +1 −1 Source/SPTableContent.m
@@ -1148,7 +1148,7 @@ - (NSString *)tableFilterString
[parser setArgument:[argumentField stringValue]];
[parser setFirstBetweenArgument:[firstBetweenField stringValue]];
[parser setSecondBetweenArgument:[secondBetweenField stringValue]];
[parser setSuppressLeadingTablePlaceholder:(!![filter objectForKey:@"SuppressLeadingFieldPlaceholder"])];
[parser setSuppressLeadingTablePlaceholder:[[filter objectForKey:@"SuppressLeadingFieldPlaceholder"] boolValue]];
[parser setCaseSensitive:caseSensitive];
[parser setCurrentField:[fieldField titleOfSelectedItem]];

0 comments on commit 7f8e159

Please sign in to comment.