Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Adding / fixing filters for committee names #583

Merged
merged 2 commits into from
Sep 4, 2015
Merged

Conversation

noahmanger
Copy link
Contributor

A few fixes to make filters more consistent coming from the aggregate tables on committee pages:

/receipts

  • Adds a filter for Contributor Name
  • Adds a separate typeahead filter for Committee Name

/disbursements

  • Adds a typeahead filter for Recipient Committee
  • Fixes js to pass the correct variable (recipient_committe_id)

[resolves #511]

@@ -26,6 +26,8 @@
{{ typeahead.field('committee_id', 'Committee') }}

<h3 class="filters__subheader">Contributor Information</h3>
{{ typeahead.field('contributor_id', 'Contributor Name (committee)') }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use consistent casing here--we say "committee" here and "Committee" above.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@noahmanger
Copy link
Contributor Author

This should be good to go.

@jmcarp jmcarp merged commit 55eef19 into develop Sep 4, 2015
@jmcarp jmcarp removed the plz-review label Sep 4, 2015
@jmcarp jmcarp deleted the feature/name-filters branch October 2, 2015 16:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add filter for "Contributor Name" on /receipts
2 participants