       pattern = new RegExp(@userFilterTerm, 'i')
       _.any propertiesToMatch, (prop) ->
         student[prop]?.match pattern
-
-    filterAssignmentColumns: (columns) =>
-      columnsByAssignmentId = _.indexBy(columns, 'assignmentId')
-
-      assignments = _.pluck(columns, 'object')
-      filteredAssignments = @filterAssignments(assignments)
-
-      filteredAssignments.map (assignment) => columnsByAssignmentId[assignment.id]
 
     filterAssignments: (assignments) =>
       assignmentFilters = [

      @studentViewStudents = {}
      @courseContent.students = new StudentDatastore(@students, @studentViewStudents)

      @allAssignmentColumns = []

      @gradebookGrid = {
        columns: {
          definitions: {}


      for id, assignment of @assignments
        assignmentColumn = @buildAssignmentColumn(assignment)
        @gradebookGrid.columns.definitions[assignmentColumn.id] = assignmentColumn

      for id, assignmentGroup of @assignmentGroups
