From 21d056ff013d47e85dcf6dfd65d2fcef0b89f757 Mon Sep 17 00:00:00 2001 From: Michael Schmatz Date: Tue, 8 Jul 2014 11:19:14 -0700 Subject: [PATCH] Instant application of filters --- app/templates/employers.jade | 1 - app/views/employers_view.coffee | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/employers.jade b/app/templates/employers.jade index 8d066ab19..00c925657 100644 --- a/app/templates/employers.jade +++ b/app/templates/employers.jade @@ -75,7 +75,6 @@ block content //input#select_all_checkbox(type="checkbox" name="select_all" checked) //| Select all - button.btn.employer-button#filter-button Filter p#results #{numberOfCandidates} results //button.btn#create-alert-button Create Alert if candidates.length diff --git a/app/views/employers_view.coffee b/app/views/employers_view.coffee index c611c60f0..13713a7a2 100644 --- a/app/views/employers_view.coffee +++ b/app/views/employers_view.coffee @@ -70,6 +70,7 @@ module.exports = class EmployersView extends View for filterName, filterValues of @filters if filterValues.length is 0 @filters[filterName] = @defaultFilters[filterName] + @applyFilters() openSignupModal: -> @openModalView new EmployerSignupView