added other_group to MAGIC_GROUP_KEYS to not create filter entries from a respective group by

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@266 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent 23391e5757
commit 5380233ed3
  1. 2
      app/models/cost_query.rb

@ -235,7 +235,7 @@ class CostQuery < ActiveRecord::Base
return match.blank? ? nil : match[0]
end
MAGIC_GROUP_KEYS = [:block, :time, :display, :db_field]
MAGIC_GROUP_KEYS = [:block, :time, :display, :db_field, :other_group]
def self.grouping_column(*names, &block)
options = names.extract_options!

Loading…
Cancel
Save