Skip to content

Commit

Permalink
Sales report download fixed (thanks to rmaddy)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ole Zorn committed Aug 16, 2011
1 parent 1731806 commit 8606803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/ReportDownloadOperation.m
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ - (void)main
NSRange lastTwoChars = NSMakeRange([dailyName length] - 2, 2);
//NSString *weeklyName = [dailyName stringByReplacingOccurrencesOfString:@"_6" withString:@"_22" options:0 range:lastTwoChars];
NSString *ajaxName = [dailyName stringByReplacingOccurrencesOfString:@"_6" withString:@"_2" options:0 range:lastTwoChars];
NSString *daySelectName = [dailyName stringByReplacingOccurrencesOfString:@"_6" withString:@"_43" options:0 range:lastTwoChars];
NSString *weekSelectName = [dailyName stringByReplacingOccurrencesOfString:@"_6" withString:@"_48" options:0 range:lastTwoChars];
NSString *daySelectName = [dailyName stringByReplacingOccurrencesOfString:@"_6" withString:@"_47" options:0 range:lastTwoChars];
NSString *weekSelectName = [dailyName stringByReplacingOccurrencesOfString:@"_6" withString:@"_52" options:0 range:lastTwoChars];

// parse days available
NSMutableArray *availableDays = [[[self extractFormOptionsFromPage:salesPage formID:@"theForm:datePickerSourceSelectElement"] mutableCopy] autorelease];
Expand Down

0 comments on commit 8606803

Please sign in to comment.