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

Removes "is-individual" from links #770

Merged
merged 1 commit into from
Sep 26, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions static/js/pages/committee-single.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,7 @@ var committeeColumns = [
orderable: false,
orderSequence: ['desc', 'asc'],
render: tables.buildTotalLink('/receipts', function(data, type, row, meta) {
return {
contributor_id: row.contributor_id,
is_individual: 'true'
};
return {contributor_id: row.contributor_id};

Choose a reason for hiding this comment

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

Identifier 'contributor_id' is not in camel case.

})
}
];
Expand Down
2 changes: 1 addition & 1 deletion templates/committees-single.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1 class="entity__name">{{ name }}</h1>
<li role="presentation" class="page-tabs__item"><a role="tab" data-name="summary" tabindex="0" aria-controls="panel1" aria-selected="true" href="#section-1">Financial summary</a></li>
<li role="presentation" class="page-tabs__item"><a role="tab" data-name="receipts" tabindex="0" aria-controls="panel2" href="#section-2">Receipts from individuals</a></li>
<li role="presentation" class="page-tabs__item"><a role="tab" data-name="disbursements" tabindex="0" aria-controls="panel3" href="#section-3">Disbursements</a></li>
<li role="presentation" class="page-tabs__item"><a role="tab" data-name="transfers" tabindex="0" aria-controls="panel4" href="#section-4">Between committees</a></li>
<li role="presentation" class="page-tabs__item"><a role="tab" data-name="between-committees" tabindex="0" aria-controls="panel4" href="#section-4">Between committees</a></li>
<li role="presentation" class="page-tabs__item"><a role="tab" data-name="filings" tabindex="0" aria-controls="panel5" href="#section-5">Filings</a></li>
{% endif %}
</ul>
Expand Down