diff --git a/fec/data/templates/partials/individual-contributions-filter.jinja b/fec/data/templates/partials/individual-contributions-filter.jinja
index 5129fb11f7..5865e515a1 100644
--- a/fec/data/templates/partials/individual-contributions-filter.jinja
+++ b/fec/data/templates/partials/individual-contributions-filter.jinja
@@ -17,8 +17,9 @@ Filter individual contributions
{{ typeahead.field('committee_id', 'Recipient Name or ID', helper_text = 'Limit 10 recipient names or IDs') }}
{{ text.field(name = 'contributor_name', title = 'Name', minor_label_text = True, helper_text = 'Limit 10 contributor names or IDs') }}
- {{ text.field(name = 'contributor_zip', title = 'ZIP code', attrs = {'maxlength':5}, minor_label_text = True, helper_text = 'Limit 10 ZIP codes') }}
{{ text.field(name = 'contributor_city', title = 'City', minor_label_text = True, helper_text = 'Limit 10 cities') }}
+ {{ states.field('contributor_state', minor_label_text = True, helper_text = 'When searching by state or territory, and across multiple time periods, choose one or more fields: recipient name or ID, contributor name or ID, city, ZIP code, occupation, employer, or image number.', restricted_field = True) }}
+ {{ text.field(name = 'contributor_zip', title = 'ZIP code', attrs = {'maxlength':5}, minor_label_text = True, helper_text = 'Limit 10 ZIP codes') }}
{{ text.field(name = 'contributor_occupation', title = 'Occupation', minor_label_text = True, helper_text = 'Use the employer field to search by occupation in reports filed before 2003. Limit 10 occupations') }}
{{ text.field(name = 'contributor_employer', title = 'Employer', minor_label_text = True, helper_text = 'Limit 10 employers') }}
{{ text.field(name = 'image_number', title = 'Image number') }}
@@ -26,20 +27,19 @@ Filter individual contributions
- {{ years.cycles('two_year_transaction_period', 'Report time period', multi_time_period_label="When searching multiple time periods, choose one or more fields: recipient name or ID, contributor name, city, ZIP code, occupation or employer, or image number.") }}
+
+ {{ years.cycles('two_year_transaction_period', 'Report time period') }}
{{ date.field('date', 'Receipt date range' ) }}
-
-
- {{ states.field('contributor_state') }}
-
+
{% import 'macros/filters/committee-types.jinja' as committee_type %}
{{ committee_type.field(committee_type='recipient_committee_type', organization_type='recipient_committee_org_type', designation='recipient_committee_designation') }}
+
{{ range.amount('amount', 'Contribution amount') }}
Receipts are reported periodically, according to the filer's reporting schedule. Receipts are updated as they’re processed— that time can vary.
diff --git a/fec/data/templates/partials/receipts-filter.jinja b/fec/data/templates/partials/receipts-filter.jinja
index 9315cd3c25..8a76bd664b 100644
--- a/fec/data/templates/partials/receipts-filter.jinja
+++ b/fec/data/templates/partials/receipts-filter.jinja
@@ -34,6 +34,7 @@ Filter receipts
{{ typeahead.field(name = 'contributor_name', title = 'Name or ID', dataset='committees', allow_text=True, minor_label_text = True, helper_text = 'Limit 10 source names or IDs') }}
{{ text.field(name = 'contributor_city', title = 'City', minor_label_text = True, helper_text = 'Limit 10 cities') }}
+ {{ states.field('contributor_state', minor_label_text = True, helper_text = 'When searching by state or territory, and across multiple time periods, choose one or more fields: recipient name or ID, source name or ID, city, ZIP code, occupation, employer, or image number.', restricted_field = True) }}
{{ text.field(name = 'contributor_zip', title = 'ZIP code', attrs = {'maxlength':5}, minor_label_text = True, helper_text = 'Limit 10 ZIP codes') }}
{{ text.field(name = 'contributor_occupation', title = 'Occupation', minor_label_text = True, helper_text = 'Use the employer field to search by occupation in reports filed before 2003. Limit 10 occupations') }}
{{ text.field(name = 'contributor_employer', title = 'Employer', minor_label_text = True, helper_text = 'Limit 10 employers') }}
@@ -42,22 +43,21 @@ Filter receipts
- {{ years.cycles('two_year_transaction_period', 'Report time period', multi_time_period_label="When searching multiple time periods, choose one or more fields: recipient name or ID, source name or ID, city, ZIP code, occupation or employer, or image number.") }}
+
+ {{ years.cycles('two_year_transaction_period', 'Report time period') }}
{{ date.field('date', 'Receipt date range' ) }}
-
-
- {{ states.field('contributor_state') }}
- {% include 'partials/filters/unique-receipts.jinja' %}
-
+
{% import 'macros/filters/committee-types.jinja' as committee_type %}
{{ committee_type.field(committee_type='recipient_committee_type', organization_type='recipient_committee_org_type', designation='recipient_committee_designation') }}
+
{{ range.amount('amount', 'Receipt amount') }}
+ {% include 'partials/filters/unique-receipts.jinja' %}
{{ dropdown.select_single('line_number', 'Receipt type', options=constants.line_numbers.receipts, default='', title_prefix='Received by', forms =['Form 3','Form 3P','Form 3X'] )}}
Filters for receipt types are available only for filings from 2007 or later.
diff --git a/fec/fec/static/js/pages/datatable-individual-contributions.js b/fec/fec/static/js/pages/datatable-individual-contributions.js
index 122beb2c36..a795838a2e 100644
--- a/fec/fec/static/js/pages/datatable-individual-contributions.js
+++ b/fec/fec/static/js/pages/datatable-individual-contributions.js
@@ -19,7 +19,7 @@ $(function() {
useExport: true,
rowCallback: modalRenderRow,
error400Message:
- '
You're trying to search across multiple time periods. Filter by recipient name or ID, contributor details, or image number for results.
',
+ '
You're trying to search across multiple time periods. Filter by recipient name or ID, other contributor details, or image number.
',
callbacks: {
afterRender: modalRenderFactory(donationTemplate)
}
diff --git a/fec/fec/static/js/pages/datatable-receipts.js b/fec/fec/static/js/pages/datatable-receipts.js
index 14aede6179..279d158403 100644
--- a/fec/fec/static/js/pages/datatable-receipts.js
+++ b/fec/fec/static/js/pages/datatable-receipts.js
@@ -21,7 +21,7 @@ $(function() {
useExport: true,
rowCallback: modalRenderRow,
error400Message:
- '
You're trying to search across multiple time periods. Filter by recipient name or ID, source details, or image number for results.
',
+ '
You're trying to search across multiple time periods. Filter by recipient name or ID, other source details, or image number.
',
callbacks: {
afterRender: modalRenderFactory(donationTemplate)
}