Skip to content

Commit

Permalink
Merging in crm_tags code
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Tillman committed Nov 15, 2011
1 parent cb74d3c commit 278eb37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/application_controller.rb
Expand Up @@ -261,7 +261,7 @@ def get_list_of_records(klass, options = {})
scope = klass.my(records)
scope = scope.state(filter) if filter.present?
scope = scope.search(current_query) if current_query.present?
scope = scope.tagged_with(tags, :on => :tags) if current_tags.present?
scope = scope.tagged_with(tags, :on => :tags) if tags.present?
scope = scope.unscoped if wants.csv?
scope = scope.paginate(pages) if wants.html? || wants.js? || wants.xml?
scope
Expand Down

0 comments on commit 278eb37

Please sign in to comment.