Changes between Version 2 and Version 3 of Ticket #30911
- Timestamp:
- Oct 25, 2019, 1:03:38 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30911 – Description
v2 v3 57 57 58 58 {{{ 59 claims = ClaimLine.objects.filter(Q(beg_date__range=prior_range) |59 rows = Model.objects.filter(Q(beg_date__range=prior_range) | 60 60 Q(beg_date__range=current_range), 61 61 med_cat='N', … … 74 74 # Handle removing nulls and blanks 75 75 if remove_null: 76 claims = claims.exclude(Q(category__isnull=True) | Q(code__isnull=True))76 rows = rows.exclude(Q(category__isnull=True) | Q(code__isnull=True)) 77 77 if remove_blank: 78 78 # Handle case where empty strings were stored as string literal `""` 79 claims = claims.exclude(Q(category__exact='') | Q(code__exact='') |79 rows = rows.exclude(Q(category__exact='') | Q(code__exact='') | 80 80 Q(category__exact='""') | Q(code__exact='""')) 81 81 82 82 # Handle excluding categories 83 claims = claims.exclude(category__in=excluded_categories)83 rows = rows.exclude(category__in=excluded_categories) 84 84 85 85 # Handle payment type filter 86 86 if payment_method != 'all': 87 claims = claims.filter(method=payment_method')87 rows = rows.filter(method=payment_method') 88 88 }}}