aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/SPHistoryController.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/SPHistoryController.m b/Source/SPHistoryController.m
index 242fd572..9277a64b 100644
--- a/Source/SPHistoryController.m
+++ b/Source/SPHistoryController.m
@@ -401,6 +401,16 @@
{
[theName appendFormat:@" (%@ %@ %@)", NSLocalizedString(@"Filtered by", @"History item filtered by label"),
[filterSettings objectForKey:@"filterField"], [filterSettings objectForKey:@"filterComparison"]];
+ } else if ([[filterSettings objectForKey:@"filterComparison"] isEqualToString:@"BETWEEN"]
+ && [filterSettings objectForKey:@"firstBetweenField"]
+ && [[filterSettings objectForKey:@"secondBetweenField"] length]
+ && [filterSettings objectForKey:@"firstBetweenField"]
+ && [[filterSettings objectForKey:@"secondBetweenField"] length])
+ {
+ [theName appendFormat:NSLocalizedString(@" (Filtered by %@ between %@ and %@)", @"History item filtered between values label"),
+ [filterSettings objectForKey:@"filterField"],
+ [filterSettings objectForKey:@"firstBetweenField"],
+ [filterSettings objectForKey:@"secondBetweenField"]];
} else if ([filterSettings objectForKey:@"filterValue"] && [[filterSettings objectForKey:@"filterValue"] length]) {
[theName appendFormat:@" (%@ %@ %@ %@)", NSLocalizedString(@"Filtered by", @"History item filtered by label"),
[filterSettings objectForKey:@"filterField"], [filterSettings objectForKey:@"filterComparison"],